Reporting

What is the chained relative time range command for a search from two months ago?

neilsussman
Explorer

Hi,

I'm scheduling a search from December 1 - January 1 but cannot find the right time range. I tried Start Time -2mon@1mon and Finish Time @1mon but that didn't work. Can someone please let me know how to schedule a search for a specified month range?

Thanks!

0 Karma

lguinn2
Legend

Try this

earliest=-2mon@mon latest=-1mon@mon

Also, when you are building the search, click the Time Range picker and choose "Custom Time". In the Custom Time popup, you can pick an absolute time range. But you can also choose "Relative Time." The cool thing about the relative time selection is that it will show you the actual time equivalent. It's an easy way to confirm that -2mon@mon is actually December 1, for example.

neilsussman
Explorer

That worked perfectly! Thanks!

0 Karma
Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...