<?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: Splunk Query to show average count and minimum for date_month and date_day in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-to-show-average-count-and-minimum-for-date-month/m-p/677396#M231628</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/256709"&gt;@Strangertinz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;please try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal
| bucket _time span =1d
| eval date=strftime(_time,"%a-%b")
| stats avg(count) as Count max(count) as maximum by date&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Tue, 13 Feb 2024 13:40:10 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2024-02-13T13:40:10Z</dc:date>
    <item>
      <title>Splunk Query to show average count and minimum for date_month and date_day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-to-show-average-count-and-minimum-for-date-month/m-p/677359#M231617</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I created a column chart in Splunk that shows month but will like to also indicate the day of the week for each of those months&lt;/P&gt;&lt;P&gt;Sample query&lt;BR /&gt;-------------------&lt;BR /&gt;index=_internal&lt;BR /&gt;| bucket _time span =1d&lt;BR /&gt;|eval month=strftime(_time,"%b")&lt;BR /&gt;| eval day=strftime(_time,"%a")&lt;BR /&gt;| stats avg(count) as Count max(count) as maximum by month, day&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 02:04:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-to-show-average-count-and-minimum-for-date-month/m-p/677359#M231617</guid>
      <dc:creator>Strangertinz</dc:creator>
      <dc:date>2024-02-13T02:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Query to show average count and minimum for date_month and date_day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-to-show-average-count-and-minimum-for-date-month/m-p/677369#M231618</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/256709"&gt;@Strangertinz&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;your search seems to be correct, what's your issue?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 07:53:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-to-show-average-count-and-minimum-for-date-month/m-p/677369#M231618</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-02-13T07:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Query to show average count and minimum for date_month and date_day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-to-show-average-count-and-minimum-for-date-month/m-p/677394#M231626</link>
      <description>&lt;P&gt;The issue is the graph shows month on the x axis and I want it to indicate both month and day of the week&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 13:37:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-to-show-average-count-and-minimum-for-date-month/m-p/677394#M231626</guid>
      <dc:creator>Strangertinz</dc:creator>
      <dc:date>2024-02-13T13:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Query to show average count and minimum for date_month and date_day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-to-show-average-count-and-minimum-for-date-month/m-p/677396#M231628</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/256709"&gt;@Strangertinz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;please try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal
| bucket _time span =1d
| eval date=strftime(_time,"%a-%b")
| stats avg(count) as Count max(count) as maximum by date&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 13:40:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-to-show-average-count-and-minimum-for-date-month/m-p/677396#M231628</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-02-13T13:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Query to show average count and minimum for date_month and date_day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-to-show-average-count-and-minimum-for-date-month/m-p/677401#M231633</link>
      <description>&lt;P&gt;Thanks for your quick response but the query is not working&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 14:02:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-to-show-average-count-and-minimum-for-date-month/m-p/677401#M231633</guid>
      <dc:creator>Strangertinz</dc:creator>
      <dc:date>2024-02-13T14:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Query to show average count and minimum for date_month and date_day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-to-show-average-count-and-minimum-for-date-month/m-p/677406#M231636</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/256709"&gt;@Strangertinz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;sorry but what do you want to calculate with avg(count) and max(count)?&lt;/P&gt;&lt;P&gt;count isn't a field to calculate average or maximun.&lt;BR /&gt;you can have the count of events by period&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal
| bucket _time span =1d
| eval date=strftime(_time,"%a-%b")
| stats count by date&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 14:30:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-to-show-average-count-and-minimum-for-date-month/m-p/677406#M231636</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-02-13T14:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Query to show average count and minimum for date_month and date_day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-to-show-average-count-and-minimum-for-date-month/m-p/677409#M231638</link>
      <description>&lt;P&gt;I want to calculate average count per day and maximum count per month. Like all the Mondays , Tuesdays of a given month combined and averaged&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 14:36:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-to-show-average-count-and-minimum-for-date-month/m-p/677409#M231638</guid>
      <dc:creator>Strangertinz</dc:creator>
      <dc:date>2024-02-13T14:36:01Z</dc:date>
    </item>
  </channel>
</rss>

