Alerting

How can I alert if this PID changes on 3k machines?

daniel333
Builder

All,

I have about 4k hosts collecting PS data. What I would like to do is get a dashboard or alert when the PID for SSHD changes. I really have no idea how to compare that many collections to their previous ones like that.

I got this far...
sourcetype=ps COMMAND=sshd PID=*

0 Karma
1 Solution

xpac
SplunkTrust
SplunkTrust

I'd try something like this:

| stats values(PID) AS PIDs dc(PID) AS PID_count by host
| where PID_count > 1

Hope that helps - if it does I'd be happy if you would upvote/accept this answer, so others could profit from it. 🙂

View solution in original post

0 Karma

xpac
SplunkTrust
SplunkTrust

I'd try something like this:

| stats values(PID) AS PIDs dc(PID) AS PID_count by host
| where PID_count > 1

Hope that helps - if it does I'd be happy if you would upvote/accept this answer, so others could profit from it. 🙂

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...