Splunk Search

How do I set up a static start time in alerts?

aniketb
Path Finder

How do I set up a static start time in alerts?

I want my search to run from say June 15, 6:00 AM to now. The start time never changes.
I'll be using end time as -now.

Labels (1)
Tags (2)
0 Karma
1 Solution

somesoni2
Revered Legend

The epoch equivalent of June 15,2014 6:00AM EST is "1402826400". You can use this as your earliest.
Use this online tool to get the epoch equivalent : http://www.epochconverter.com/
So the query will be like this

your search terms earliest=1402826400 latest=now |....

View solution in original post

rsneha
New Member

thanks

0 Karma

somesoni2
Revered Legend

The epoch equivalent of June 15,2014 6:00AM EST is "1402826400". You can use this as your earliest.
Use this online tool to get the epoch equivalent : http://www.epochconverter.com/
So the query will be like this

your search terms earliest=1402826400 latest=now |....
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...