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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...