Splunk Search

Setting Custom/Default Time in Splunk Search/Dashboard

eraasch
New Member

As the title suggests I am attempting to set a custom and default for a splunk dashboard that I created. When it opens I need it to snap to the previous weekday between 16:26 and 16:42 CST. Does anyone know how I would go about doing this?

Labels (1)
0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

Use default earliest=-w@w+1d and default latest=@w5+1d

(Use advanced section if you are selecting from timerange picker UI.)

VatsalJagani_0-1640507460750.png

Then use this filter in the SPL search query

where date_hour=16 AND date_minute>=26 AND date_minute<=42
0 Karma
Get Updates on the Splunk Community!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...