Splunk Search

86400 in Splunk

phspec
Explorer

What significance does '86400' have in Splunk? For example, why is it used here, '| eval day=floor((now()-_time)/86400)'?

Tags (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

86400 is the number of seconds in 24 hours. In your example it is used to convert the number of seconds since _time into the number of days since _time.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

86400 is the number of seconds in 24 hours. In your example it is used to convert the number of seconds since _time into the number of days since _time.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Join Us at the Builder Bar at .conf24 – Empowering Innovation and Collaboration

What is the Builder Bar? The Builder Bar is more than just a place; it's a hub of creativity, collaboration, ...

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...