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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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