<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How can I alert if this PID changes on 3k machines? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-can-I-alert-if-this-PID-changes-on-3k-machines/m-p/407038#M7149</link>
    <description>&lt;P&gt;All, &lt;/P&gt;

&lt;P&gt;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. &lt;/P&gt;

&lt;P&gt;I got this far...&lt;BR /&gt;
sourcetype=ps COMMAND=sshd PID=*&lt;/P&gt;</description>
    <pubDate>Tue, 22 May 2018 19:58:41 GMT</pubDate>
    <dc:creator>daniel333</dc:creator>
    <dc:date>2018-05-22T19:58:41Z</dc:date>
    <item>
      <title>How can I alert if this PID changes on 3k machines?</title>
      <link>https://community.splunk.com/t5/Alerting/How-can-I-alert-if-this-PID-changes-on-3k-machines/m-p/407038#M7149</link>
      <description>&lt;P&gt;All, &lt;/P&gt;

&lt;P&gt;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. &lt;/P&gt;

&lt;P&gt;I got this far...&lt;BR /&gt;
sourcetype=ps COMMAND=sshd PID=*&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 19:58:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-can-I-alert-if-this-PID-changes-on-3k-machines/m-p/407038#M7149</guid>
      <dc:creator>daniel333</dc:creator>
      <dc:date>2018-05-22T19:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can I alert if this PID changes on 3k machines?</title>
      <link>https://community.splunk.com/t5/Alerting/How-can-I-alert-if-this-PID-changes-on-3k-machines/m-p/407039#M7150</link>
      <description>&lt;P&gt;I'd try something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| stats values(PID) AS PIDs dc(PID) AS PID_count by host
| where PID_count &amp;gt; 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope that helps - if it does I'd be happy if you would upvote/accept this answer, so others could profit from it. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 20:09:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-can-I-alert-if-this-PID-changes-on-3k-machines/m-p/407039#M7150</guid>
      <dc:creator>xpac</dc:creator>
      <dc:date>2018-05-22T20:09:35Z</dc:date>
    </item>
  </channel>
</rss>

