<?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: Frequency of events - how often an event was logged in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Frequency-of-events-how-often-an-event-was-logged/m-p/16862#M2271</link>
    <description>&lt;P&gt;I would use eval in combination with stats.  For example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=apache_error earliest=-60m | stats count as total | eval errors_per_min=(total/60) | fields error_per_min
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This would take the total # of events over the past 60 minutes, then divide by 60 to get you a count per minute.  Or from the advanced charting view:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=apache_error earliest=-60m | timechart span=1m count as error_per_min 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 06 Jul 2010 00:28:28 GMT</pubDate>
    <dc:creator>Simeon</dc:creator>
    <dc:date>2010-07-06T00:28:28Z</dc:date>
    <item>
      <title>Frequency of events - how often an event was logged</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Frequency-of-events-how-often-an-event-was-logged/m-p/16861#M2270</link>
      <description>&lt;P&gt;Does anyone have a good way (or am I missing the something obvious?) of calculating for a defined time range the average frequency of the events logged?&lt;/P&gt;

&lt;P&gt;Such as eventtype A appeared every X minutes.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2010 18:45:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Frequency-of-events-how-often-an-event-was-logged/m-p/16861#M2270</guid>
      <dc:creator>Derek</dc:creator>
      <dc:date>2010-07-05T18:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Frequency of events - how often an event was logged</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Frequency-of-events-how-often-an-event-was-logged/m-p/16862#M2271</link>
      <description>&lt;P&gt;I would use eval in combination with stats.  For example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=apache_error earliest=-60m | stats count as total | eval errors_per_min=(total/60) | fields error_per_min
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This would take the total # of events over the past 60 minutes, then divide by 60 to get you a count per minute.  Or from the advanced charting view:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=apache_error earliest=-60m | timechart span=1m count as error_per_min 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Jul 2010 00:28:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Frequency-of-events-how-often-an-event-was-logged/m-p/16862#M2271</guid>
      <dc:creator>Simeon</dc:creator>
      <dc:date>2010-07-06T00:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Frequency of events - how often an event was logged</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Frequency-of-events-how-often-an-event-was-logged/m-p/16863#M2272</link>
      <description>&lt;P&gt;I knew I missing something obvious &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2010 19:36:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Frequency-of-events-how-often-an-event-was-logged/m-p/16863#M2272</guid>
      <dc:creator>Derek</dc:creator>
      <dc:date>2010-07-06T19:36:47Z</dc:date>
    </item>
  </channel>
</rss>

