Hello, I am new to Splunk and i have a little problem with making an alert
So i want to trigger an alert when I don't find any rows before 10:00AM that day
The search looks like this
index = auth "File has been processed"
| eval mytime=strftime(_time, "%Y-%m-%d")
And it woud be simple if it could trigger every day. Unfortunately i need to check if the day the alert should trigger is in another log (trigger if the date is same)
To get that date i use that query (INDATE is yyyy-mm-dd)
index=auth Add.N.Days |rex "<retdate>(?<INDATE>.*)</retdate>"
So basically i need to check if first search finds anything until 10:00 AM and if not, then trigger an alert but only if the INDATE is the same as the "mytime" from first query. Any suggestions?
... View more