<?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 Average Hits per Minute by Distinct SourceIP in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Average-Hits-per-Minute-by-Distinct-SourceIP/m-p/51354#M12408</link>
    <description>&lt;P&gt;I'm interested to know the average hits per minute by distinct source IP address from my web log data for a given time period.&lt;/P&gt;

&lt;P&gt;(I'm sure this is REALLY simple but I've yet to figure it out...)&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 01 Mar 2011 03:04:05 GMT</pubDate>
    <dc:creator>mattreidy</dc:creator>
    <dc:date>2011-03-01T03:04:05Z</dc:date>
    <item>
      <title>Average Hits per Minute by Distinct SourceIP</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-Hits-per-Minute-by-Distinct-SourceIP/m-p/51354#M12408</link>
      <description>&lt;P&gt;I'm interested to know the average hits per minute by distinct source IP address from my web log data for a given time period.&lt;/P&gt;

&lt;P&gt;(I'm sure this is REALLY simple but I've yet to figure it out...)&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2011 03:04:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-Hits-per-Minute-by-Distinct-SourceIP/m-p/51354#M12408</guid>
      <dc:creator>mattreidy</dc:creator>
      <dc:date>2011-03-01T03:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Average Hits per Minute by Distinct SourceIP</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-Hits-per-Minute-by-Distinct-SourceIP/m-p/51355#M12409</link>
      <description>&lt;P&gt;This sounds like a good use of timechart, something like&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;my_search | timechart useother=false span=1m count(_raw) by src_ip
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 01 Mar 2011 03:46:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-Hits-per-Minute-by-Distinct-SourceIP/m-p/51355#M12409</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2011-03-01T03:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Average Hits per Minute by Distinct SourceIP</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-Hits-per-Minute-by-Distinct-SourceIP/m-p/51356#M12410</link>
      <description>&lt;P&gt;This gives me the raw count, but what I'm really after is the average of the count per IP...&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2011 04:23:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-Hits-per-Minute-by-Distinct-SourceIP/m-p/51356#M12410</guid>
      <dc:creator>mattreidy</dc:creator>
      <dc:date>2011-03-01T04:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Average Hits per Minute by Distinct SourceIP</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-Hits-per-Minute-by-Distinct-SourceIP/m-p/51357#M12411</link>
      <description>&lt;P&gt;So lemme see here matt -- are you looking to reduce this to a single value per time period that is the avg# of per-ip hits?  If so, the above search should be easily adjustable to do that.  Please advise.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2011 07:23:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-Hits-per-Minute-by-Distinct-SourceIP/m-p/51357#M12411</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2011-03-01T07:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Average Hits per Minute by Distinct SourceIP</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-Hits-per-Minute-by-Distinct-SourceIP/m-p/51358#M12412</link>
      <description>&lt;P&gt;The above is giving you the count of hits per distinct &lt;CODE&gt;src_ip&lt;/CODE&gt;. But I suppose what you want is the count &lt;EM&gt;of&lt;/EM&gt; distinct &lt;CODE&gt;src_ip&lt;/CODE&gt; values, which is &lt;CODE&gt;... | timechart span=1m distinct_count(src_ip)&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2011 08:40:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-Hits-per-Minute-by-Distinct-SourceIP/m-p/51358#M12412</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2011-03-01T08:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Average Hits per Minute by Distinct SourceIP</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-Hits-per-Minute-by-Distinct-SourceIP/m-p/51359#M12413</link>
      <description>&lt;P&gt;Sounds to me like you really want the count &lt;EM&gt;of&lt;/EM&gt; distinct source IPs, not the count by each source IP.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | timechart span=1m distinct_count(src_ip)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 01 Mar 2011 08:40:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-Hits-per-Minute-by-Distinct-SourceIP/m-p/51359#M12413</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2011-03-01T08:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Average Hits per Minute by Distinct SourceIP</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-Hits-per-Minute-by-Distinct-SourceIP/m-p/51360#M12414</link>
      <description>&lt;P&gt;Is the search you are looking for:&lt;/P&gt;

&lt;P&gt;... | bucket _time span=1m | stats dc(clientip) as dcip count(clientip) as totalcount by _time | eval avg_hit=(totalcount/dcip) | fields + _time, avg_hit&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2011 03:55:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-Hits-per-Minute-by-Distinct-SourceIP/m-p/51360#M12414</guid>
      <dc:creator>tgow</dc:creator>
      <dc:date>2011-03-04T03:55:40Z</dc:date>
    </item>
  </channel>
</rss>

