<?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: Average alarms per reader in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Average-alarms-per-reader/m-p/544829#M154277</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;when you want to calculate avg, you must apply this to a numerical field not as string like you have here.&amp;nbsp;&lt;BR /&gt;Here is example how to do it with stats eval combination&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Search/Usestatswithevalexpressionsandfunctions" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Search/Usestatswithevalexpressionsandfunctions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You could found easily several other examples how todo it.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
    <pubDate>Mon, 22 Mar 2021 21:15:40 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2021-03-22T21:15:40Z</dc:date>
    <item>
      <title>Average alarms per reader</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-alarms-per-reader/m-p/544825#M154276</link>
      <description>&lt;P&gt;So I'm having trouble figuring this one out. Basically for example we have 1000 alarms per day and 100 readers in our office. This would be an average of 10 alarms per reader. My question is how would i put that into a search that gets the info for me? I'm fairly new to Splunk but here's what I have. However this returns no results.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="index" EVDESCR="Alarm"
|stats avg(EVDESCR) by READERDESC&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 20:41:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-alarms-per-reader/m-p/544825#M154276</guid>
      <dc:creator>msage</dc:creator>
      <dc:date>2021-03-22T20:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Average alarms per reader</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-alarms-per-reader/m-p/544829#M154277</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;when you want to calculate avg, you must apply this to a numerical field not as string like you have here.&amp;nbsp;&lt;BR /&gt;Here is example how to do it with stats eval combination&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Search/Usestatswithevalexpressionsandfunctions" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Search/Usestatswithevalexpressionsandfunctions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You could found easily several other examples how todo it.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 21:15:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-alarms-per-reader/m-p/544829#M154277</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2021-03-22T21:15:40Z</dc:date>
    </item>
  </channel>
</rss>

