<?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: highest event count in given time frame per seconds in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/highest-event-count-in-given-time-frame-per-seconds/m-p/529849#M149676</link>
    <description>&lt;LI-CODE lang="markup"&gt;...
| bin span=1s _time 
| stats count by _time
| stats max(count) as "winner winner chicken dinner"&lt;/LI-CODE&gt;&lt;P&gt;That's probably your basic need right there.&amp;nbsp; Change "span=..." to whatever you need.&amp;nbsp; 'count' is probably what you want to use for the counts, but the peak rates - you don't tell us how those even might be calculated. It might be "max(fieldname)" or something else.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note, I think by second probably isn't gonna be a very fast thing to do over a longer period of time.&amp;nbsp; There are 86,400 if those it'll calculate every day...&lt;/P&gt;&lt;P&gt;Report acceleration may help, and/or building a data model and accelerating that.&amp;nbsp; Or using tstats if they're indexed fields you are fiddling with.&amp;nbsp; Lastly, this might actually be a good use for using a summary index.&lt;/P&gt;&lt;P&gt;All of those things are easily able to be found with a search of (using google syntax, but I think most search engines follow that?) 'Splunk report acceleration site:docs.splunk.com' (obviously, change the keywords in there).&lt;/P&gt;&lt;P&gt;Happy Splunking,&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;</description>
    <pubDate>Wed, 18 Nov 2020 02:38:30 GMT</pubDate>
    <dc:creator>Richfez</dc:creator>
    <dc:date>2020-11-18T02:38:30Z</dc:date>
    <item>
      <title>highest event count in given time frame per seconds</title>
      <link>https://community.splunk.com/t5/Splunk-Search/highest-event-count-in-given-time-frame-per-seconds/m-p/529810#M149671</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I'm trying to do the following search based on my index 'transactions' and field name called 'customers' for a custom time range&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Top 10 highest historical peak rates averaged over the following intervals (1 sec, 10 sec, 60 sec, 5 min)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Top 10 highest daily transaction counts&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 19:25:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/highest-event-count-in-given-time-frame-per-seconds/m-p/529810#M149671</guid>
      <dc:creator>ronport2020</dc:creator>
      <dc:date>2020-11-17T19:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: highest event count in given time frame per seconds</title>
      <link>https://community.splunk.com/t5/Splunk-Search/highest-event-count-in-given-time-frame-per-seconds/m-p/529849#M149676</link>
      <description>&lt;LI-CODE lang="markup"&gt;...
| bin span=1s _time 
| stats count by _time
| stats max(count) as "winner winner chicken dinner"&lt;/LI-CODE&gt;&lt;P&gt;That's probably your basic need right there.&amp;nbsp; Change "span=..." to whatever you need.&amp;nbsp; 'count' is probably what you want to use for the counts, but the peak rates - you don't tell us how those even might be calculated. It might be "max(fieldname)" or something else.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note, I think by second probably isn't gonna be a very fast thing to do over a longer period of time.&amp;nbsp; There are 86,400 if those it'll calculate every day...&lt;/P&gt;&lt;P&gt;Report acceleration may help, and/or building a data model and accelerating that.&amp;nbsp; Or using tstats if they're indexed fields you are fiddling with.&amp;nbsp; Lastly, this might actually be a good use for using a summary index.&lt;/P&gt;&lt;P&gt;All of those things are easily able to be found with a search of (using google syntax, but I think most search engines follow that?) 'Splunk report acceleration site:docs.splunk.com' (obviously, change the keywords in there).&lt;/P&gt;&lt;P&gt;Happy Splunking,&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 02:38:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/highest-event-count-in-given-time-frame-per-seconds/m-p/529849#M149676</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2020-11-18T02:38:30Z</dc:date>
    </item>
  </channel>
</rss>

