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!

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...