Splunk Search

How to convert Unix format and compare it with _time for given values of `savedsearch_name` and have a clear visualization

mo_shahin
Engager

I am trying to visualize the deviation between a correlation rule's scheduled time and the time it was run.
went through the index=_internal sourcetype=scheduler
and found the scheduled time in Unix timestamp format.

How can I convert Unix format and compare it with _time for given values of savedsearch_name and have a clear visualization (to present it for management)

0 Karma

to4kawa
Ultra Champion
your search
|eval my_time= _time

Hi, @mo_shahin
try this, and check my_time. It is unnecessary to convert to Unix timestamp format.

and, Visualization....

index=_internal sourcetype=scheduler
| eval diff=_time - savedsearch_name
| table _time diff

try Line Chart

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...