<?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 Unix App - Report on Differences in Open Ports in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Unix-App-Report-on-Differences-in-Open-Ports/m-p/103431#M7223</link>
    <description>&lt;P&gt;We have the *NIX app working, and as an example, we have one system feeding netstat and open port data into it.  We are feeding this data every hour.  How can I send an alert if the reports each hour don't match?  Basically, if a new port is opened, or an existing port is closed, we want to get an alert.&lt;/P&gt;

&lt;P&gt;Thanks for the help, as always!&lt;/P&gt;</description>
    <pubDate>Thu, 03 Nov 2011 17:29:07 GMT</pubDate>
    <dc:creator>aferone</dc:creator>
    <dc:date>2011-11-03T17:29:07Z</dc:date>
    <item>
      <title>Unix App - Report on Differences in Open Ports</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Unix-App-Report-on-Differences-in-Open-Ports/m-p/103431#M7223</link>
      <description>&lt;P&gt;We have the *NIX app working, and as an example, we have one system feeding netstat and open port data into it.  We are feeding this data every hour.  How can I send an alert if the reports each hour don't match?  Basically, if a new port is opened, or an existing port is closed, we want to get an alert.&lt;/P&gt;

&lt;P&gt;Thanks for the help, as always!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2011 17:29:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Unix-App-Report-on-Differences-in-Open-Ports/m-p/103431#M7223</guid>
      <dc:creator>aferone</dc:creator>
      <dc:date>2011-11-03T17:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unix App - Report on Differences in Open Ports</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Unix-App-Report-on-Differences-in-Open-Ports/m-p/103432#M7224</link>
      <description>&lt;P&gt;Try the diff command:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Searchreference/Diff"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Searchreference/Diff&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=os sourcetype=netstat host=your_host | head 2 | diff
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 03 Nov 2011 20:41:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Unix-App-Report-on-Differences-in-Open-Ports/m-p/103432#M7224</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2011-11-03T20:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Unix App - Report on Differences in Open Ports</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Unix-App-Report-on-Differences-in-Open-Ports/m-p/103433#M7225</link>
      <description>&lt;P&gt;Thank you for the answer!&lt;/P&gt;

&lt;P&gt;Now, I am trying to create a alert for this.  Under normal conditions, I get the "** Results are the Same **" message.  However, when there is a difference, for example, I get this:&lt;/P&gt;

&lt;P&gt;@@ -15,3 +15,4 @@&lt;BR /&gt;
 udp    52480&lt;BR /&gt;
 udp    20031&lt;BR /&gt;
 udp     5353&lt;BR /&gt;
+udp     1514&lt;/P&gt;

&lt;P&gt;I am trying to set up the alert so that obviously it only send us an email when there is a difference.  I tried using the custom condition in the alert to exclude the "** Results are the Same **" message, but it is not working.&lt;/P&gt;

&lt;P&gt;Any suggestions?  Thanks again!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2011 17:36:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Unix-App-Report-on-Differences-in-Open-Ports/m-p/103433#M7225</guid>
      <dc:creator>aferone</dc:creator>
      <dc:date>2011-11-04T17:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unix App - Report on Differences in Open Ports</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Unix-App-Report-on-Differences-in-Open-Ports/m-p/103434#M7226</link>
      <description>&lt;P&gt;I think you can filter no-diffs out by adding one of the following to your search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | search linecount &amp;gt; 2
... | search NOT "Results are the Same"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 08 Nov 2011 00:19:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Unix-App-Report-on-Differences-in-Open-Ports/m-p/103434#M7226</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2011-11-08T00:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unix App - Report on Differences in Open Ports</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Unix-App-Report-on-Differences-in-Open-Ports/m-p/103435#M7227</link>
      <description>&lt;P&gt;This worked perfectly.  Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2011 16:40:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Unix-App-Report-on-Differences-in-Open-Ports/m-p/103435#M7227</guid>
      <dc:creator>aferone</dc:creator>
      <dc:date>2011-11-09T16:40:43Z</dc:date>
    </item>
  </channel>
</rss>

