|
Using the following search:
I am able to get a list of all hosts and when the last time splunk saw an event from that host. What I would like to do is create a saved search based off of this sort of search that I can use as an alert if lastTime is greater than some number of hours for any particular host. I was imagining something along the lines of
Or something along those lines. Is there a function that would give me NOW (current date/time) and if so, is this the right approach to get what I'm after? |
|
You're looking for the now() function in eval. The following search will alert you if there are any hosts that haven't sent any data for more than one hour (3600 seconds)
Awesome, exactly what I was looking for. Thanks!
(29 Apr '11, 12:14)
chadroberts
|
