<?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 Re: How to count equal sources in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-count-equal-sources/m-p/46995#M11221</link>
    <description>&lt;P&gt;If you don't yet have the source ip extracted into a field you can do something like this to get you started quickly:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | rex "MAN-TRANS-PIX:(?&amp;lt;src_ip&amp;gt;(\d{1,3}\.){3}\d{1,3})" | ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 28 May 2013 09:54:56 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2013-05-28T09:54:56Z</dc:date>
    <item>
      <title>How to count equal sources</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-count-equal-sources/m-p/46991#M11217</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
I want to count the denials from the same source ip. How can I do this?&lt;BR /&gt;
The Log looks like this:&lt;/P&gt;

&lt;P&gt;May 28 07:22:30 aaa.aaa.aaa.aaa %ASA-4-106023: Deny icmp src MAN-TRANS-PIX:bbb.bbb.bbb.bbb dst MAN-PRIV-INFRA-DMZ1:dns1.man.internal (type 8, code 0) by access-group "MAN-TRANS-PIX_access_in" [0xe068225a, 0x0]&lt;/P&gt;

&lt;P&gt;Thanks for help.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:59:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-count-equal-sources/m-p/46991#M11217</guid>
      <dc:creator>saschar</dc:creator>
      <dc:date>2020-09-28T13:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to count equal sources</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-count-equal-sources/m-p/46992#M11218</link>
      <description>&lt;P&gt;If you're looking for a specific source ip you can do this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;search for that source ip and denial events | stats count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you're looking for a general count by source ip you can do this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;search for denial events | stats count by src_ip
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Alternatively, this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;search for denial events | top src_ip
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Other than that you may need to clarify your goal.&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2013 07:46:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-count-equal-sources/m-p/46992#M11218</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-05-28T07:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to count equal sources</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-count-equal-sources/m-p/46993#M11219</link>
      <description>&lt;P&gt;I am looking for a general count to get the sources which produces the most noise.&lt;BR /&gt;
The count by src_ip producing no results. I think it's because the "MAN-TRANS-PIX:" in front of the IP. How can can I get these IP's out of this?&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2013 07:58:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-count-equal-sources/m-p/46993#M11219</guid>
      <dc:creator>saschar</dc:creator>
      <dc:date>2013-05-28T07:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to count equal sources</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-count-equal-sources/m-p/46994#M11220</link>
      <description>&lt;P&gt;Now I've tried the search on another server with the same asa-logs. On this my search and counting works fine but on the production-server I get no results...&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2013 08:22:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-count-equal-sources/m-p/46994#M11220</guid>
      <dc:creator>saschar</dc:creator>
      <dc:date>2013-05-28T08:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to count equal sources</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-count-equal-sources/m-p/46995#M11221</link>
      <description>&lt;P&gt;If you don't yet have the source ip extracted into a field you can do something like this to get you started quickly:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | rex "MAN-TRANS-PIX:(?&amp;lt;src_ip&amp;gt;(\d{1,3}\.){3}\d{1,3})" | ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 May 2013 09:54:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-count-equal-sources/m-p/46995#M11221</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-05-28T09:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to count equal sources</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-count-equal-sources/m-p/46996#M11222</link>
      <description>&lt;P&gt;Thanks.&lt;BR /&gt;
That was the problem.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2013 07:52:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-count-equal-sources/m-p/46996#M11222</guid>
      <dc:creator>saschar</dc:creator>
      <dc:date>2013-05-29T07:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to count equal sources</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-count-equal-sources/m-p/46997#M11223</link>
      <description>&lt;P&gt;If you do not have that extraction, you are probably missing other usefull information. I suggest you install the free "Technology Add on for Cisco ASA" to all your indexers and search heads.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/apps/58196/technology-add-on-for-cisco-asa"&gt;http://splunk-base.splunk.com/apps/58196/technology-add-on-for-cisco-asa&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2013 09:06:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-count-equal-sources/m-p/46997#M11223</guid>
      <dc:creator>BobM</dc:creator>
      <dc:date>2013-05-29T09:06:11Z</dc:date>
    </item>
  </channel>
</rss>

