<?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 Events per second on a realtime search? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Events-per-second-on-a-realtime-search/m-p/30422#M6162</link>
    <description>&lt;P&gt;How can I get a count of events per second in a realtime search? &lt;/P&gt;

&lt;P&gt;I can do something like this to get a rolling count on a realtime search with a 30 second window:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source=foobar.log host=*prod* PAYLOAD | stats count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But as soon as I add something like &lt;CODE&gt;|eval eps=max(count/30)&lt;/CODE&gt; it all falls apart and eps doesn't seem to get updated.&lt;/P&gt;

&lt;P&gt;For bonus points I'd like to display this in a single value panel with a rangemap...&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;-Pete&lt;/P&gt;</description>
    <pubDate>Mon, 16 Aug 2010 02:14:38 GMT</pubDate>
    <dc:creator>pde23</dc:creator>
    <dc:date>2010-08-16T02:14:38Z</dc:date>
    <item>
      <title>Events per second on a realtime search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Events-per-second-on-a-realtime-search/m-p/30422#M6162</link>
      <description>&lt;P&gt;How can I get a count of events per second in a realtime search? &lt;/P&gt;

&lt;P&gt;I can do something like this to get a rolling count on a realtime search with a 30 second window:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source=foobar.log host=*prod* PAYLOAD | stats count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But as soon as I add something like &lt;CODE&gt;|eval eps=max(count/30)&lt;/CODE&gt; it all falls apart and eps doesn't seem to get updated.&lt;/P&gt;

&lt;P&gt;For bonus points I'd like to display this in a single value panel with a rangemap...&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;-Pete&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2010 02:14:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Events-per-second-on-a-realtime-search/m-p/30422#M6162</guid>
      <dc:creator>pde23</dc:creator>
      <dc:date>2010-08-16T02:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Events per second on a realtime search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Events-per-second-on-a-realtime-search/m-p/30423#M6163</link>
      <description>&lt;P&gt;Seems to work just fine for me:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_* OR index=* | stats count | eval eps=count/30
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;(Note that you don't need &lt;CODE&gt;max()&lt;/CODE&gt;, but it should give the same results anyway.) &lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2010 02:28:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Events-per-second-on-a-realtime-search/m-p/30423#M6163</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-08-16T02:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: Events per second on a realtime search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Events-per-second-on-a-realtime-search/m-p/30424#M6164</link>
      <description>&lt;P&gt;So weird. It didn't work the first two times I tried it, then I walked away for a coffee and it's working as expected. Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2010 02:38:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Events-per-second-on-a-realtime-search/m-p/30424#M6164</guid>
      <dc:creator>pde23</dc:creator>
      <dc:date>2010-08-16T02:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Events per second on a realtime search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Events-per-second-on-a-realtime-search/m-p/30425#M6165</link>
      <description>&lt;P&gt;Coffee sometimes does that.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2010 08:35:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Events-per-second-on-a-realtime-search/m-p/30425#M6165</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-08-16T08:35:40Z</dc:date>
    </item>
  </channel>
</rss>

