<?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: How to calculate daily volume of logs ingested by index in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-daily-volume-of-logs-ingested-by-index/m-p/676897#M231476</link>
    <description>&lt;P&gt;You have not answered &lt;A href="https://community.splunk.com/t5/Splunk-Search/How-to-calculate-daily-volume-of-logs-ingested-by-index/m-p/676881/highlight/true#M231472" target="_self"&gt;fundamental questions&lt;/A&gt; about your dataset. &amp;nbsp;See my comment.&lt;/P&gt;&lt;P&gt;BTW, once you use groupby, a single aggregation function will no longer result in field name corresponding to your AS clause. &amp;nbsp;This is why operation on &lt;FONT face="courier new,courier"&gt;Usage&lt;/FONT&gt; will not do anything. (Multiple aggregation functions will result in composite field names. &amp;nbsp;Again, operation on &lt;FONT face="courier new,courier"&gt;Usage&lt;/FONT&gt; will not do anything.)&lt;/P&gt;</description>
    <pubDate>Wed, 07 Feb 2024 22:42:31 GMT</pubDate>
    <dc:creator>yuanliu</dc:creator>
    <dc:date>2024-02-07T22:42:31Z</dc:date>
    <item>
      <title>How to calculate daily volume of logs ingested by index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-daily-volume-of-logs-ingested-by-index/m-p/676870#M231471</link>
      <description>&lt;P&gt;Hi Team&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the below search but not getting any result,&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=aws component=Metrics group=per_index_thruput earliest=-1w@d latest=-0d@d&lt;BR /&gt;| timechart span=1d sum(kb) as Usage by series&lt;BR /&gt;| foreach * [eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;=round('&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;'/1024/1024, 3)]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jaibalaraman_0-1707334825046.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29291iBE74AE4FFEA88229/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jaibalaraman_0-1707334825046.png" alt="jaibalaraman_0-1707334825046.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 19:40:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-daily-volume-of-logs-ingested-by-index/m-p/676870#M231471</guid>
      <dc:creator>jaibalaraman</dc:creator>
      <dc:date>2024-02-07T19:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate daily volume of logs ingested by index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-daily-volume-of-logs-ingested-by-index/m-p/676881#M231472</link>
      <description>&lt;P&gt;Have you taken away filters one by one, starting from the last one? &amp;nbsp;This is the first step to diagnose. &amp;nbsp;One key question you need to answer is: Is the groupby field named "&lt;FONT face="courier new,courier"&gt;series&lt;/FONT&gt;" extracted in Splunk? &amp;nbsp;A second question, of course, is whether the aggregated field "&lt;FONT face="courier new,courier"&gt;kb&lt;/FONT&gt;" extracted?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 21:28:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-daily-volume-of-logs-ingested-by-index/m-p/676881#M231472</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2024-02-07T21:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate daily volume of logs ingested by index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-daily-volume-of-logs-ingested-by-index/m-p/676882#M231473</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/226870"&gt;@jaibalaraman&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;try:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;index=_internal source=*metrics.log group=per_index_thruput earliest=-1w@d latest=-0d@d&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| timechart span=1d sum(kb) as Usage by series&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| eval Usage = round(Usage /1024/1024, 3)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 21:41:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-daily-volume-of-logs-ingested-by-index/m-p/676882#M231473</guid>
      <dc:creator>jamie00171</dc:creator>
      <dc:date>2024-02-07T21:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate daily volume of logs ingested by index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-daily-volume-of-logs-ingested-by-index/m-p/676892#M231474</link>
      <description>&lt;P&gt;Yes I tried the outcome is blank&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Question - do i need to select the time frame like last 7 days or 30 days&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jaibalaraman_0-1707343157592.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29293i59A2887AE2AF810D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jaibalaraman_0-1707343157592.png" alt="jaibalaraman_0-1707343157592.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 21:59:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-daily-volume-of-logs-ingested-by-index/m-p/676892#M231474</guid>
      <dc:creator>jaibalaraman</dc:creator>
      <dc:date>2024-02-07T21:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate daily volume of logs ingested by index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-daily-volume-of-logs-ingested-by-index/m-p/676897#M231476</link>
      <description>&lt;P&gt;You have not answered &lt;A href="https://community.splunk.com/t5/Splunk-Search/How-to-calculate-daily-volume-of-logs-ingested-by-index/m-p/676881/highlight/true#M231472" target="_self"&gt;fundamental questions&lt;/A&gt; about your dataset. &amp;nbsp;See my comment.&lt;/P&gt;&lt;P&gt;BTW, once you use groupby, a single aggregation function will no longer result in field name corresponding to your AS clause. &amp;nbsp;This is why operation on &lt;FONT face="courier new,courier"&gt;Usage&lt;/FONT&gt; will not do anything. (Multiple aggregation functions will result in composite field names. &amp;nbsp;Again, operation on &lt;FONT face="courier new,courier"&gt;Usage&lt;/FONT&gt; will not do anything.)&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 22:42:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-daily-volume-of-logs-ingested-by-index/m-p/676897#M231476</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2024-02-07T22:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate daily volume of logs ingested by index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-daily-volume-of-logs-ingested-by-index/m-p/676899#M231477</link>
      <description>&lt;P&gt;Sorry i really dont understand&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 22:50:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-daily-volume-of-logs-ingested-by-index/m-p/676899#M231477</guid>
      <dc:creator>jaibalaraman</dc:creator>
      <dc:date>2024-02-07T22:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate daily volume of logs ingested by index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-daily-volume-of-logs-ingested-by-index/m-p/676903#M231478</link>
      <description>&lt;P&gt;You can use the licence ingest log data for that also&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal source=/opt/splunk/var/log/splunk/license_usage.log idx=* type=Usage
| timechart span=1d sum(b) as bytes by idx
| foreach * [ eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;=round(&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt; / 1024 / 1024, 3) ]&lt;/LI-CODE&gt;&lt;P&gt;Round/Divide as needed to get the appropriate size unit&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 23:04:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-daily-volume-of-logs-ingested-by-index/m-p/676903#M231478</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2024-02-07T23:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate daily volume of logs ingested by index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-daily-volume-of-logs-ingested-by-index/m-p/676908#M231481</link>
      <description>&lt;P&gt;yes i can see the output in the column from the below search&amp;nbsp;&lt;/P&gt;&lt;P&gt;source=*metrics.log group=per_index_thruput earliest=-1w@d latest=-0d@d&lt;BR /&gt;| timechart span=1d sum(kb) as Usage by series&lt;BR /&gt;| eval Usage = round(Usage /1024/1024, 3)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jaibalaraman_0-1707348880485.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29294i1379EADC46C69364/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jaibalaraman_0-1707348880485.png" alt="jaibalaraman_0-1707348880485.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do i convert the column into GB&amp;nbsp; value , also when i filter last 30 days i am able to see only last 7 days instead 30 days.&amp;nbsp; How do i fix this issue&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note - When i specify the index , like for example index=aws i am not getting any search result from the search query ??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 23:36:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-daily-volume-of-logs-ingested-by-index/m-p/676908#M231481</guid>
      <dc:creator>jaibalaraman</dc:creator>
      <dc:date>2024-02-07T23:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate daily volume of logs ingested by index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-daily-volume-of-logs-ingested-by-index/m-p/676918#M231483</link>
      <description>&lt;P&gt;After a timechart split by a field you cannot use the field name after the timechart as it no longer exists. The field names are the values of your 'series' field.&lt;/P&gt;&lt;P&gt;You need to use the &lt;STRONG&gt;foreach&lt;/STRONG&gt; method in your initial post&lt;/P&gt;&lt;P&gt;The reason why &lt;STRONG&gt;index=aws&lt;/STRONG&gt; returns nothing is that the data you are searching for does not exist in that index. What makes you think it did?&lt;/P&gt;&lt;P&gt;It is in the &lt;STRONG&gt;_internal&lt;/STRONG&gt; index, so you should definitely include that&lt;/P&gt;&lt;P&gt;Change your earliest/latest settings to define the time period you want to search for, or use the time picker instead and remove the earliest and latest totally.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 02:35:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-daily-volume-of-logs-ingested-by-index/m-p/676918#M231483</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2024-02-08T02:35:14Z</dc:date>
    </item>
  </channel>
</rss>

