Dashboards & Visualizations

Timerangepicker: until yesterday 24:00

HeinzWaescher
Motivator

Hi,

I would like to set the timerange picker that my search is always using data from date "X" until yesterday 24:00. How can I achieve this?

Best
Heinz

Tags (1)
0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

"Yesterday 24:00" is expressed as @d in Splunk relative time syntax. It's the same point in time as "Today 00:00", when used as the right bound of a search it's exclusive.

When using the verbose date-and-time configuration you select the "to" date as today 00:00, and the "from" date as your date X 00:00.

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

"Yesterday 24:00" is expressed as @d in Splunk relative time syntax. It's the same point in time as "Today 00:00", when used as the right bound of a search it's exclusive.

When using the verbose date-and-time configuration you select the "to" date as today 00:00, and the "from" date as your date X 00:00.

HeinzWaescher
Motivator

Hi Martin,

sounds easy 🙂 Then I will use the advanced timerangepicker and set earliest:"unixtime" latest:@d.

Thanks a lot

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...