Dashboards & Visualizations

What is the difference between latest_day and 1 day_ before?

hmohta
Path Finder

Hello

I am a bit unclear from the readings the meaning of  'latest_day and 1 day_ before'. I have attached a screen shot where I am comparing a particular event that occurred over 7 days. 

Screenshot (243).png

Now if I want to compare say   'latest_day and 1 day_ before'. : is latest like yesterday and 1day_ before is the 4th October? I am confused. My query: 
index="AB" earliest=-8d@d latest=@d
| search status="OTP_REQUIRED"
| timechart span=1h count
| timewrap d
|  fields _time latest_day, 1day_before ( when I want to compare days)

Thankyou

Labels (1)
0 Karma

hmohta
Path Finder

Thankyou so much!

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @hmohta,

good for you, see next time!

Please accept one answer for the other people of Community

Ciao and happy splunking

Giuseppe

P.S.: Karma Points are appreciated by all the Contributors 😉

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @hmohta,

as @johnhuang said:

  •  latest_day is tha last full day of the time period of your search, in this case yesterday,
  • 1day_before is the previous day than yesterday.

For more infos see documentation about timewrap command at https://docs.splunk.com/Documentation/Splunk/9.0.1/SearchReference/Timewrap 

Ciao.

Giuseppe

johnhuang
Motivator

The latest_day correspond to the latest event in your search which is yesterday.

Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...