<?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 Average Daily Ingest by Month Excluding Weekends in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Average-Daily-Ingest-by-Month-Excluding-Weekends/m-p/660781#M54372</link>
    <description>&lt;P&gt;I don't like to use the default time-related fields.&lt;/P&gt;&lt;P&gt;1. They don't have to be present&lt;/P&gt;&lt;P&gt;2. Quoting the docs:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; Only events that have timestamp information in them as generated by their respective systems will have date_* fields. If an event has a date_* field, it represents the value of time/date directly from the event itself. If you have specified any timezone conversions or changed the value of the time/date at indexing or input time (for example, by setting the timestamp to be the time at index or input time), these fields will not represent that.&lt;/P&gt;</description>
    <pubDate>Sat, 14 Oct 2023 12:31:26 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2023-10-14T12:31:26Z</dc:date>
    <item>
      <title>Splunk Average Daily Ingest by Month Excluding Weekends</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Average-Daily-Ingest-by-Month-Excluding-Weekends/m-p/660697#M54364</link>
      <description>&lt;P&gt;I am looking to create a chart showing the &lt;STRONG&gt;average&lt;/STRONG&gt; daily total ingest by month in Terabytes excluding weekends over the past year. For some reason I am struggling with this. Any help getting me started would be appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 16:55:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Average-Daily-Ingest-by-Month-Excluding-Weekends/m-p/660697#M54364</guid>
      <dc:creator>scout29</dc:creator>
      <dc:date>2023-10-13T16:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Average Daily Ingest by Month Excluding Weekends</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Average-Daily-Ingest-by-Month-Excluding-Weekends/m-p/660728#M54366</link>
      <description>&lt;P&gt;Please define what you mean by "average daily ingest excluding weekends". Do you mean to sum only values from monday to friday and divide by 5 days weekly or do you want to sum values from whole 7 days and divide by 5 days or maybe sum values from 5 days and divide by 7 days? (of course extrapolated to your whole search timerange but I mean how do you wanna treat those weekends).&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 18:54:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Average-Daily-Ingest-by-Month-Excluding-Weekends/m-p/660728#M54366</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-10-13T18:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Average Daily Ingest by Month Excluding Weekends</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Average-Daily-Ingest-by-Month-Excluding-Weekends/m-p/660734#M54367</link>
      <description>&lt;P&gt;Im looking for the daily average for each month excluding weekends all together. So for example, for September, what was the average daily ingest for all days Monday through Friday.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 19:09:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Average-Daily-Ingest-by-Month-Excluding-Weekends/m-p/660734#M54367</guid>
      <dc:creator>scout29</dc:creator>
      <dc:date>2023-10-13T19:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Average Daily Ingest by Month Excluding Weekends</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Average-Daily-Ingest-by-Month-Excluding-Weekends/m-p/660736#M54368</link>
      <description>&lt;P&gt;OK. So if your June had 23 working days, you want only sum of the license usage during those 23 days divided by 23, right? You simply count as if the week was 5 days long and completely ignore existence of saturdays and sundays?&lt;/P&gt;&lt;P&gt;As you open the licensing report in search, you see something like this:&lt;/P&gt;&lt;PRE&gt;index=_internal [`set_local_host`] source=*license_usage.log* type="RolloverSummary"&lt;/PRE&gt;&lt;P&gt;I suppose if you have a distributed environment you might not have the localhost part but some other form of choosing indexers.&lt;/P&gt;&lt;P&gt;Anyway, since it's done right after midnight to calculate summarized amount of license used per day, the search behind the report substracts half a day (43200 seconds) from the _time field and then does binning over _time.&lt;/P&gt;&lt;P&gt;And that's pretty much it - the &lt;STRONG&gt;b&lt;/STRONG&gt; field contains sum of bytes indexed.&lt;/P&gt;&lt;P&gt;Now you only have to filter out the saturdays/sundays (possibly with strftime) and do a stats avg and Robert is your father's brother.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 19:41:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Average-Daily-Ingest-by-Month-Excluding-Weekends/m-p/660736#M54368</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-10-13T19:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Average Daily Ingest by Month Excluding Weekends</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Average-Daily-Ingest-by-Month-Excluding-Weekends/m-p/660763#M54370</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/261177"&gt;@scout29&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;only completing the perfect solution from&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal [`set_local_host`] source=*license_usage.log* type="RolloverSummary" NOT date_wday IN ("saturday", "monday")
| stats avg(b) AS bytes BY date_month
| eval TB= bytes/1024/1024/1024/1024&lt;/LI-CODE&gt;&lt;P&gt;if you want to exclude also holydays from your average, you have to create a lookup containing the holydays for the exclusion.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 14 Oct 2023 06:00:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Average-Daily-Ingest-by-Month-Excluding-Weekends/m-p/660763#M54370</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-10-14T06:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Average Daily Ingest by Month Excluding Weekends</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Average-Daily-Ingest-by-Month-Excluding-Weekends/m-p/660781#M54372</link>
      <description>&lt;P&gt;I don't like to use the default time-related fields.&lt;/P&gt;&lt;P&gt;1. They don't have to be present&lt;/P&gt;&lt;P&gt;2. Quoting the docs:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; Only events that have timestamp information in them as generated by their respective systems will have date_* fields. If an event has a date_* field, it represents the value of time/date directly from the event itself. If you have specified any timezone conversions or changed the value of the time/date at indexing or input time (for example, by setting the timestamp to be the time at index or input time), these fields will not represent that.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Oct 2023 12:31:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Average-Daily-Ingest-by-Month-Excluding-Weekends/m-p/660781#M54372</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-10-14T12:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Average Daily Ingest by Month Excluding Weekends</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Average-Daily-Ingest-by-Month-Excluding-Weekends/m-p/660887#M54385</link>
      <description>&lt;P&gt;So i am using the below search run over the past 365 days, however it is only providing me with the last month. How do i get the average monthly ingest (excluding weekends) for each month over the past year?&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=_internal source=*license_usage.log* type="RolloverSummary" splunk_server=* NOT date_wday IN ("saturday", "sunday")
| stats avg(b) AS bytes BY date_month
| eval TB=(bytes/1024/1024/1024/1024)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 16 Oct 2023 15:52:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Average-Daily-Ingest-by-Month-Excluding-Weekends/m-p/660887#M54385</guid>
      <dc:creator>scout29</dc:creator>
      <dc:date>2023-10-16T15:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Average Daily Ingest by Month Excluding Weekends</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Average-Daily-Ingest-by-Month-Excluding-Weekends/m-p/660888#M54386</link>
      <description>&lt;P&gt;So i am using the below search run over the past 365 days, however it is only providing me with the last month. How do i get the average monthly ingest (excluding weekends) for each month over the past year?&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=_internal source=*license_usage.log* type="RolloverSummary" splunk_server=* NOT date_wday IN ("saturday", "sunday")
| stats avg(b) AS bytes BY date_month
| eval TB=(bytes/1024/1024/1024/1024)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 16 Oct 2023 15:52:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Average-Daily-Ingest-by-Month-Excluding-Weekends/m-p/660888#M54386</guid>
      <dc:creator>scout29</dc:creator>
      <dc:date>2023-10-16T15:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Average Daily Ingest by Month Excluding Weekends</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Average-Daily-Ingest-by-Month-Excluding-Weekends/m-p/660914#M54390</link>
      <description>&lt;P&gt;Check your _internal index retention policy. If your index rolls to frozen in 30 days you simply don't have the events for a longer timespan.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 17:12:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-Average-Daily-Ingest-by-Month-Excluding-Weekends/m-p/660914#M54390</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-10-16T17:12:42Z</dc:date>
    </item>
  </channel>
</rss>

