<?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: Brute Force Query Help in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Brute-Force-Query-Help/m-p/512178#M143629</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;you should try eventstats instead of stats.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
    <pubDate>Mon, 03 Aug 2020 16:30:23 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2020-08-03T16:30:23Z</dc:date>
    <item>
      <title>Brute Force Query Help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Brute-Force-Query-Help/m-p/512170#M143628</link>
      <description>&lt;P&gt;I am trying to mimic the table below. I have the count of the source IP, but how do I get the count of the respective subnets? In the example, they have it in the cell of each subnet value. Here is what I have so far:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=xxxx sourcetype=xxxx "xxxx" 
| eval ERROR_CODE=case((RC="200"), "Success", (RC="400"), "User Not Found",(RC="401") , "Bad Password",(RC="500"), "Internal Server Error") 
| rex field=_raw "TCIP='(?&amp;lt;subnet_24&amp;gt;\d+\.\d+\.\d+)\.\d+" 
| rex field=_raw "TCIP='(?&amp;lt;subnet_16&amp;gt;\d+\.\d+)\.\d+\.\d+" 
| eval subnet_24 = subnet_24 +".x" 
| eval subnet_16 = subnet_16 +".x.x" 
| stats count(TCIP) by subnet_24 subnet_16 TCIP&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alanzchan_0-1596468056771.png" style="width: 746px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9998i77A15001D4BF03F3/image-dimensions/746x356?v=v2" width="746" height="356" role="button" title="alanzchan_0-1596468056771.png" alt="alanzchan_0-1596468056771.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2020 15:26:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Brute-Force-Query-Help/m-p/512170#M143628</guid>
      <dc:creator>alanzchan</dc:creator>
      <dc:date>2020-08-03T15:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Brute Force Query Help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Brute-Force-Query-Help/m-p/512178#M143629</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;you should try eventstats instead of stats.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2020 16:30:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Brute-Force-Query-Help/m-p/512178#M143629</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-08-03T16:30:23Z</dc:date>
    </item>
  </channel>
</rss>

