Dashboards & Visualizations

How to set month to date using earliest and lastest in code?

Druffin1
Engager

I need to set the date range from month to Date in splunk.

 

<earliest>now</earliest>
<latest>mon</latest>

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Druffin1,

please try this:

<earliest>now</earliest>
<latest>@mon</latest>

Ciao.

Giuseppe

 

0 Karma
Get Updates on the Splunk Community!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...