<?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: Month based count need to be displayed in average in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-average-in-month-based-count/m-p/589945#M205401</link>
    <description>&lt;P&gt;Not working as expected . its just give count ,not giving average&lt;/P&gt;</description>
    <pubDate>Mon, 21 Mar 2022 08:25:05 GMT</pubDate>
    <dc:creator>btcs2</dc:creator>
    <dc:date>2022-03-21T08:25:05Z</dc:date>
    <item>
      <title>How to display average in month based count?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-average-in-month-based-count/m-p/589712#M205333</link>
      <description>&lt;P&gt;| chart count over date_month by seriesName&amp;nbsp; , I have a search that display counts over month by seriesname . but instead of this count i need to display average of the count over month by series name ..&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;date_month seriesName 1 seriesName 2 seriesName 3&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="76.0625px" height="25px"&gt;1&lt;/TD&gt;
&lt;TD width="151px" height="25px"&gt;march&lt;/TD&gt;
&lt;TD width="101.3px" height="25px"&gt;%&lt;/TD&gt;
&lt;TD width="90.7125px" height="25px"&gt;%&lt;/TD&gt;
&lt;TD width="40px" height="25px"&gt;%&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;2&lt;/TD&gt;
&lt;TD&gt;feb&lt;/TD&gt;
&lt;TD&gt;%&lt;/TD&gt;
&lt;TD&gt;%&lt;/TD&gt;
&lt;TD&gt;%&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Fri, 18 Mar 2022 16:54:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-average-in-month-based-count/m-p/589712#M205333</guid>
      <dc:creator>btcs2</dc:creator>
      <dc:date>2022-03-18T16:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Month based count need to be displayed in average</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-average-in-month-based-count/m-p/589715#M205335</link>
      <description>&lt;P&gt;If you want to display daily average during that month, try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Your base search
| bucket span=1d _time 
| stats count by _time seriesName
| eval date_month=strftime(_time,"%b")
| chart avg(count) over date_month by seriesName&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 18 Mar 2022 15:34:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-average-in-month-based-count/m-p/589715#M205335</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2022-03-18T15:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Month based count need to be displayed in average</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-average-in-month-based-count/m-p/589945#M205401</link>
      <description>&lt;P&gt;Not working as expected . its just give count ,not giving average&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 08:25:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-average-in-month-based-count/m-p/589945#M205401</guid>
      <dc:creator>btcs2</dc:creator>
      <dc:date>2022-03-21T08:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Month based count need to be displayed in average</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-average-in-month-based-count/m-p/589956#M205404</link>
      <description>&lt;P&gt;The example given by&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/15147"&gt;@somesoni2&lt;/a&gt;&amp;nbsp;does seem to do what you seem to have asked for.&lt;/P&gt;&lt;P&gt;If it is not working for you, please can you share the search you are actually using, so we can try to see why?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 09:20:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-average-in-month-based-count/m-p/589956#M205404</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-03-21T09:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Month based count need to be displayed in average</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-average-in-month-based-count/m-p/589964#M205406</link>
      <description>&lt;P&gt;Yes that query works but that's not what i was looking for .. may be my requirement is not clear&amp;nbsp;&lt;/P&gt;&lt;P&gt;The average should be in such a way that&amp;nbsp; (row wise) like in the month of match 15 percentage of event is series 1 and 35 percentage is series 2 and 50 percentage is series 3 . series is nothing but events like offer created or something.&amp;nbsp; i can show example ..&lt;/P&gt;&lt;P&gt;Find average to the total events in that month to each event(occurrence percentage of each events compare to total events for each month)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;date_month&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;series1&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;series2&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;series3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;March&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;15%&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;35%&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;50%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;February&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;16%&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;36%&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;48%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;base query | chart count over date_month by seriesName&lt;/EM&gt;&amp;nbsp;&lt;/STRONG&gt; this is the query&amp;nbsp; that we use now . it gives count in expected way ..&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 10:03:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-average-in-month-based-count/m-p/589964#M205406</guid>
      <dc:creator>btcs2</dc:creator>
      <dc:date>2022-03-21T10:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Month based count need to be displayed in average</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-average-in-month-based-count/m-p/589969#M205409</link>
      <description>&lt;P&gt;OK so you don't want the average, you want the percentage of the total for the month that each series has?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| bucket span=1mon _time 
| stats count by _time seriesName
| eval date_month=strftime(_time,"%b")
| eventstats sum(count) as total by date_month
| eval percentage=round(100*count/total,2)."%"
| xyseries date_month seriesName percentage&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 21 Mar 2022 10:08:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-average-in-month-based-count/m-p/589969#M205409</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-03-21T10:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Month based count need to be displayed in average</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-average-in-month-based-count/m-p/590004#M205423</link>
      <description>&lt;P&gt;Thank you so much .. !!&amp;nbsp; its working&amp;nbsp; as expected . need to learn all these &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 13:00:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-average-in-month-based-count/m-p/590004#M205423</guid>
      <dc:creator>btcs2</dc:creator>
      <dc:date>2022-03-21T13:00:50Z</dc:date>
    </item>
  </channel>
</rss>

