<?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: calculating average by week in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Calculating-average-by-week/m-p/632975#M219883</link>
    <description>&lt;P&gt;Thank you for this. How would you do that same thing, but for daily average for this month only?&lt;/P&gt;</description>
    <pubDate>Thu, 02 Mar 2023 11:39:28 GMT</pubDate>
    <dc:creator>JoshSaunders</dc:creator>
    <dc:date>2023-03-02T11:39:28Z</dc:date>
    <item>
      <title>Calculating average by week?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Calculating-average-by-week/m-p/439435#M173217</link>
      <description>&lt;P&gt;how do Icalculate the average number of events for each week for this search&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=dcl EventCode=4740 | eval date=strftime(_time,"%Y-%m-%d") | timechart span=7d count&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 02 Mar 2023 15:06:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Calculating-average-by-week/m-p/439435#M173217</guid>
      <dc:creator>vonsolo29</dc:creator>
      <dc:date>2023-03-02T15:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: calculating average by week</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Calculating-average-by-week/m-p/439436#M173218</link>
      <description>&lt;P&gt;If you want a simple average daily count over a week, try this untested query:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=dcl EventCode=4740 | timechart span=7d count as Avg | eval Avg=round(Avg/7, 2) 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 31 Jan 2019 22:42:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Calculating-average-by-week/m-p/439436#M173218</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-01-31T22:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: calculating average by week</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Calculating-average-by-week/m-p/632975#M219883</link>
      <description>&lt;P&gt;Thank you for this. How would you do that same thing, but for daily average for this month only?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 11:39:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Calculating-average-by-week/m-p/632975#M219883</guid>
      <dc:creator>JoshSaunders</dc:creator>
      <dc:date>2023-03-02T11:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: calculating average by week</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Calculating-average-by-week/m-p/632977#M219884</link>
      <description>&lt;P&gt;And is there a way to restrict the average for the first query to only Monday through Friday of the current week, but also only include days that have past (for example, if it's Thursday, show the daily average for Monday through Thursday)?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 11:52:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Calculating-average-by-week/m-p/632977#M219884</guid>
      <dc:creator>JoshSaunders</dc:creator>
      <dc:date>2023-03-02T11:52:18Z</dc:date>
    </item>
  </channel>
</rss>

