<?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: Daily Ingest per index for last 7 days in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Daily-Ingest-per-index-for-last-7-days/m-p/685308#M10135</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/262258"&gt;@Splunkerninja&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You can use below query;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal source=*license_usage.log* type="Usage" 
| timechart span=1d eval(round(sum(b)/1024/1024/1024,3)) as GB by idx&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Apr 2024 12:11:47 GMT</pubDate>
    <dc:creator>scelikok</dc:creator>
    <dc:date>2024-04-24T12:11:47Z</dc:date>
    <item>
      <title>Daily Ingest per index for last 7 days</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Daily-Ingest-per-index-for-last-7-days/m-p/685263#M10128</link>
      <description>&lt;P&gt;Hi , I came across many queries to calculate daily ingest per index for last 7 days but I am not getting the expected results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please guide me with the query to calculate the daily ingest per index in GB for last 7 days?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 08:28:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Daily-Ingest-per-index-for-last-7-days/m-p/685263#M10128</guid>
      <dc:creator>Splunkerninja</dc:creator>
      <dc:date>2024-04-24T08:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Daily Ingest per index for last 7 days</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Daily-Ingest-per-index-for-last-7-days/m-p/685279#M10129</link>
      <description>&lt;P&gt;so what did you try and what gave you the wrong results&lt;/P&gt;&lt;P&gt;This is the basic search&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal source=/opt/splunk/var/log/splunk/license_usage.log idx=* st=*
| stats sum(b) as bytes by idx
| eval gb=round(bytes/1024/1024/1024,3)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Run that over the time range you want&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 09:18:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Daily-Ingest-per-index-for-last-7-days/m-p/685279#M10129</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2024-04-24T09:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Daily Ingest per index for last 7 days</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Daily-Ingest-per-index-for-last-7-days/m-p/685281#M10130</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/262258"&gt;@Splunkerninja&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;do you want to calcuate the icense consuption or the number of events per index and per day?&lt;/P&gt;&lt;P&gt;In the first case see at [Settings &amp;gt; License &amp;gt; License Consuption past 60 days &amp;gt; by Index], or run this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal [`set_local_host`] source=*license_usage.log* type="Usage" | eval h=if(len(h)=0 OR isnull(h),"(SQUASHED)",h) | eval s=if(len(s)=0 OR isnull(s),"(SQUASHED)",s) | eval idx=if(len(idx)=0 OR isnull(idx),"(UNKNOWN)",idx) | bin _time span=1d | stats sum(b) as b by _time, pool, s, st, h, idx   | timechart span=1d sum(b) AS volumeB by idx fixedrange=false  | join type=outer _time [search index=_internal [`set_local_host`] source=*license_usage.log* type="RolloverSummary" earliest=-30d@d | eval _time=_time - 43200 | bin _time span=1d | dedup _time stack | stats sum(stacksz) AS "stack size" by _time] | fields - _timediff  | foreach * [eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;=round('&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;'/1024/1024/1024, 3)]&lt;/LI-CODE&gt;&lt;P&gt;In the second case, you could try something ike this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=*
| bin span=1d _time
| chart count OVER index BY _time&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 09:21:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Daily-Ingest-per-index-for-last-7-days/m-p/685281#M10130</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-04-24T09:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Daily Ingest per index for last 7 days</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Daily-Ingest-per-index-for-last-7-days/m-p/685287#M10131</link>
      <description>&lt;P&gt;The first query is not giving me any results. Even i replaced the macro with actualy query it gives zero result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I basically want the total of daily ingest of each index over 7 days&lt;/P&gt;&lt;P&gt;index=_internal [ rest splunk_server=local /services/server/info | return host] source=*license_usage.log* type="Usage" | eval h=if(len(h)=0 OR isnull(h),"(SQUASHED)",h) | eval s=if(len(s)=0 OR isnull(s),"(SQUASHED)",s) | eval idx=if(len(idx)=0 OR isnull(idx),"(UNKNOWN)",idx) | bin _time span=1d | stats sum(b) as b by _time, pool, s, st, h, idx | timechart span=1d sum(b) AS volumeB by idx fixedrange=false | join type=outer _time [ search index=_internal [ rest splunk_server=local /services/server/info | return host] source=*license_usage.log* type="RolloverSummary" earliest=-30d@d | eval _time=_time - 43200 | bin _time span=1d | dedup _time stack | stats sum(stacksz) AS "stack size" by _time] | fields - _timediff | foreach * [ eval &amp;lt;&amp;gt;=round('&amp;lt;&amp;gt;'/1024/1024/1024, 3)]&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 09:45:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Daily-Ingest-per-index-for-last-7-days/m-p/685287#M10131</guid>
      <dc:creator>Splunkerninja</dc:creator>
      <dc:date>2024-04-24T09:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Daily Ingest per index for last 7 days</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Daily-Ingest-per-index-for-last-7-days/m-p/685288#M10132</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/262258"&gt;@Splunkerninja&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;does the search in [Settings &amp;gt; License &amp;gt; License Consuption &amp;gt; last 60 days &amp;gt; divided by index] run?&lt;/P&gt;&lt;P&gt;I only copied this search.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 09:59:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Daily-Ingest-per-index-for-last-7-days/m-p/685288#M10132</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-04-24T09:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Daily Ingest per index for last 7 days</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Daily-Ingest-per-index-for-last-7-days/m-p/685297#M10134</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp; We are on splunk cloud and we use workload based management for licenseing i.e SVC . So the query which you are giving is not giving aggregate daily ingest per index for last 7 days&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 11:26:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Daily-Ingest-per-index-for-last-7-days/m-p/685297#M10134</guid>
      <dc:creator>Splunkerninja</dc:creator>
      <dc:date>2024-04-24T11:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Daily Ingest per index for last 7 days</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Daily-Ingest-per-index-for-last-7-days/m-p/685308#M10135</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/262258"&gt;@Splunkerninja&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You can use below query;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal source=*license_usage.log* type="Usage" 
| timechart span=1d eval(round(sum(b)/1024/1024/1024,3)) as GB by idx&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 12:11:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Daily-Ingest-per-index-for-last-7-days/m-p/685308#M10135</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2024-04-24T12:11:47Z</dc:date>
    </item>
  </channel>
</rss>

