Splunk Search

Best practice to keep track of current service state

Simon
Contributor

Hi folks

I'm logging the state of services in a log when they're getting started or stopped, nothing special.
From your experience, what's the best practice to keep the current state of each service in a dashboard, but without having to search over a large timerange? It might be possible a service was restarted months ago but my dashboard should not search more than 24 hours. Also note that logging the current state of the service is not an option.
I'm thinking about a CSV with a scheduled search, e.g. running every 5 minutes to compare if the state has changed but maybe there are better options, e.g. introduced with Splunk 6 or so.

Thanks,
Simon

0 Karma
1 Solution

Ayn
Legend

Whenever I see "state" in a question I almost link to this blog post on the subject, it should prove useful in your case as well: http://blogs.splunk.com/2011/01/11/maintaining-state-of-the-union/

View solution in original post

Ayn
Legend

Whenever I see "state" in a question I almost link to this blog post on the subject, it should prove useful in your case as well: http://blogs.splunk.com/2011/01/11/maintaining-state-of-the-union/

Simon
Contributor

Perfect, thanks!

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...