<?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: Splunk search - chart the number of hits from each IP over a fixed range in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search-chart-the-number-of-hits-from-each-IP-over-a-fixed/m-p/292219#M88290</link>
    <description>&lt;P&gt;@kmorris_splunk&lt;/P&gt;

&lt;P&gt;Thank you, it worked !&lt;/P&gt;</description>
    <pubDate>Thu, 17 Aug 2017 23:32:13 GMT</pubDate>
    <dc:creator>asdfxqwert</dc:creator>
    <dc:date>2017-08-17T23:32:13Z</dc:date>
    <item>
      <title>Splunk search - chart the number of hits from each IP over a fixed range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search-chart-the-number-of-hits-from-each-IP-over-a-fixed/m-p/292212#M88283</link>
      <description>&lt;P&gt;We have the below data:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;IP           Count
A            50
B            100
C            20
D            60
E            10
F            90
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;We have  to chart it as below. Any pointers would be helpful&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;1-20    2
20-50   2
50-100  3 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 Aug 2017 23:54:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-search-chart-the-number-of-hits-from-each-IP-over-a-fixed/m-p/292212#M88283</guid>
      <dc:creator>asdfxqwert</dc:creator>
      <dc:date>2017-08-16T23:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk search - chart the number of hits from each IP over a fixed range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search-chart-the-number-of-hits-from-each-IP-over-a-fixed/m-p/292213#M88284</link>
      <description>&lt;P&gt;Hey @asdfxqwert, Do you want 20 and 50 to be inclusive in both ranges? Asking because your range on line 3 doesn't match your range on line 2 in that sense. (There are 2 values in the 20-50 range inclusive of 20 and there are 4 values in the 50-100 range inclusive of 50). Either way, publishing so the experts can help you chart this. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 00:08:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-search-chart-the-number-of-hits-from-each-IP-over-a-fixed/m-p/292213#M88284</guid>
      <dc:creator>lfedak_splunk</dc:creator>
      <dc:date>2017-08-17T00:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk search - chart the number of hits from each IP over a fixed range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search-chart-the-number-of-hits-from-each-IP-over-a-fixed/m-p/292214#M88285</link>
      <description>&lt;P&gt;Hi @lfedak-splunk&lt;/P&gt;

&lt;P&gt;Thanks for spotting the issue. The range should be exclusive. &lt;/P&gt;

&lt;P&gt;1-20&lt;BR /&gt;
21-50&lt;BR /&gt;
51-100 etc&lt;/P&gt;

&lt;P&gt;Also, the range can be dynamic. So, it would be great to have a function(user defined or existing) to define the range as per the requirement. &lt;/P&gt;

&lt;P&gt;Thanks for publishing !&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 00:12:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-search-chart-the-number-of-hits-from-each-IP-over-a-fixed/m-p/292214#M88285</guid>
      <dc:creator>asdfxqwert</dc:creator>
      <dc:date>2017-08-17T00:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk search - chart the number of hits from each IP over a fixed range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search-chart-the-number-of-hits-from-each-IP-over-a-fixed/m-p/292215#M88286</link>
      <description>&lt;P&gt;You could use the rangemap command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;YOUR BASE SEARCH 
| rangemap field=Count "1-20"=1-20 "21-50"=21-50 "51-100"=51-100 default="&amp;gt;100" 
| stats count by range
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This assumes the fieldname that holds the value is called Count like it shows in your data sample.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 00:35:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-search-chart-the-number-of-hits-from-each-IP-over-a-fixed/m-p/292215#M88286</guid>
      <dc:creator>kmorris_splunk</dc:creator>
      <dc:date>2017-08-17T00:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk search - chart the number of hits from each IP over a fixed range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search-chart-the-number-of-hits-from-each-IP-over-a-fixed/m-p/292216#M88287</link>
      <description>&lt;P&gt;@kmorris_splunk&lt;/P&gt;

&lt;P&gt;The count is actually not a fieldname. It is derived from the number of occurrences of the IP&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 17:01:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-search-chart-the-number-of-hits-from-each-IP-over-a-fixed/m-p/292216#M88287</guid>
      <dc:creator>asdfxqwert</dc:creator>
      <dc:date>2017-08-17T17:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk search - chart the number of hits from each IP over a fixed range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search-chart-the-number-of-hits-from-each-IP-over-a-fixed/m-p/292217#M88288</link>
      <description>&lt;P&gt;Sure thing! &lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 18:12:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-search-chart-the-number-of-hits-from-each-IP-over-a-fixed/m-p/292217#M88288</guid>
      <dc:creator>lfedak_splunk</dc:creator>
      <dc:date>2017-08-17T18:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk search - chart the number of hits from each IP over a fixed range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search-chart-the-number-of-hits-from-each-IP-over-a-fixed/m-p/292218#M88289</link>
      <description>&lt;P&gt;Try something like this.  It is different than your search, but you will get the idea:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=access_combined 
| stats count as Count by action 
| rangemap field=Count "900-950"=900-950 "951-1000"=951-1000 default="&amp;gt;1000" 
| table action range
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 17 Aug 2017 18:54:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-search-chart-the-number-of-hits-from-each-IP-over-a-fixed/m-p/292218#M88289</guid>
      <dc:creator>kmorris_splunk</dc:creator>
      <dc:date>2017-08-17T18:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk search - chart the number of hits from each IP over a fixed range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search-chart-the-number-of-hits-from-each-IP-over-a-fixed/m-p/292219#M88290</link>
      <description>&lt;P&gt;@kmorris_splunk&lt;/P&gt;

&lt;P&gt;Thank you, it worked !&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 23:32:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-search-chart-the-number-of-hits-from-each-IP-over-a-fixed/m-p/292219#M88290</guid>
      <dc:creator>asdfxqwert</dc:creator>
      <dc:date>2017-08-17T23:32:13Z</dc:date>
    </item>
  </channel>
</rss>

