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.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...