<?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 edit my search to find the average events per second for each day from the past week? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-find-the-average-events-per-second-for/m-p/363057#M107244</link>
    <description>&lt;P&gt;You want to calculate EPS for each index or for all? Also, you say each day of past week, so you expect 7 rows with showing average of each day of last week?&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jun 2017 22:08:17 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2017-06-23T22:08:17Z</dc:date>
    <item>
      <title>How to edit my search to find the average events per second for each day from the past week?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-find-the-average-events-per-second-for/m-p/363055#M107242</link>
      <description>&lt;P&gt;I am using the following query to calculate the average events per second&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats count where index=* groupby index, _time span=1s | stats avg(count) as AverageCountPerSec
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, the number is lower than one of the indexes.  What did I miss?  How to calculate the average events per second for each day from the past week?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 20:30:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-find-the-average-events-per-second-for/m-p/363055#M107242</guid>
      <dc:creator>splunkrocks2014</dc:creator>
      <dc:date>2017-06-23T20:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to find the average events per second for each day from the past week?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-find-the-average-events-per-second-for/m-p/363056#M107243</link>
      <description>&lt;P&gt;try this, &lt;/P&gt;

&lt;P&gt;Average, &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats count where index=* by  index _time span=1s | stats avg(count) as avg by _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Overall, &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats count where index=* by  _time span=1s
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For index wise, &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats count where index=* groupby index, _time span=1s | xyseries _time, index, count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Jun 2017 20:34:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-find-the-average-events-per-second-for/m-p/363056#M107243</guid>
      <dc:creator>vasanthmss</dc:creator>
      <dc:date>2017-06-23T20:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to find the average events per second for each day from the past week?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-find-the-average-events-per-second-for/m-p/363057#M107244</link>
      <description>&lt;P&gt;You want to calculate EPS for each index or for all? Also, you say each day of past week, so you expect 7 rows with showing average of each day of last week?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 22:08:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-find-the-average-events-per-second-for/m-p/363057#M107244</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-06-23T22:08:17Z</dc:date>
    </item>
  </channel>
</rss>

