Splunk Dev

Anyone have a good search to determine if an app has stopped across 4k machines?

daniel333
Builder

All,

I have the PS input from Splunk for Unix enabled on all endpoints. Seems to be there should be an easy way to check running status of a process from 15 minutes ago to now and get a list of machines where the app has stopped.

thanks
-Daniel

edit: Here is what I came up with, but I figure there should be a better way to to this

index=os "auditbeat-god" sourcetype=ps earliest=-60m@m latest=-30m@m 
| fields host 
| dedup host 
| table host
| append [ search 
index=os "auditbeat-god" sourcetype=ps earliest=-30m@m latest=now 
| fields host 
| dedup host 
| table host 
]
| stats count by host
| where count < 2
Tags (1)
0 Karma

diogofgm
SplunkTrust
SplunkTrust

Just search for the last hour and use

index=os "auditbeat-god" sourcetype=ps | timechart span=30m count by host

------------
Hope I was able to help you. If so, some karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...