<?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: Calculate Index Size increase 24 hours. No admin privilege. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Calculate-Index-Size-increase-24-hours-No-admin-privilege/m-p/526203#M148517</link>
    <description>&lt;P&gt;Thank you &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/194278"&gt;@arjunpkishore5&lt;/a&gt;&amp;nbsp;!&lt;BR /&gt;&lt;BR /&gt;I used these two queries :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;|eventcount summarize=false index=* report_size=true | eval GB=(size_bytes/1024)/(1024*1024) | stats sum(GB) as total by index|sort -total&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;| tstats earliest(_indextime) AS indexing_time where index=* OR index=_* by index|convert ctime(indexing_time) timeformat="%m/%d/%Y"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The first query gave me all the disk space event logs would take (without a replication factor). I checked and found out that the replication factor is 3.&lt;BR /&gt;Multiplied the values with 3 and got the total disk space required by each index (With replication).&lt;/P&gt;&lt;P&gt;Now, I took the second query and got the total number of days from which the first indexing happened for an indexer.&lt;/P&gt;&lt;P&gt;I got the total number of days for which indexers are being used by by substracting with current date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I took the average disk required by dividing the two outputs and estimated the disk spaces for the next 3months, 6 months, 9 months and 12 months.&lt;/P&gt;&lt;P&gt;Hope the way I took is ok.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Abhishek Singh&lt;/P&gt;</description>
    <pubDate>Fri, 23 Oct 2020 10:01:21 GMT</pubDate>
    <dc:creator>asing13</dc:creator>
    <dc:date>2020-10-23T10:01:21Z</dc:date>
    <item>
      <title>Calculate Index Size increase 24 hours. No admin privilege.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Calculate-Index-Size-increase-24-hours-No-admin-privilege/m-p/526057#M148483</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Please note - No Admin privilege to run query on _internal index&lt;/P&gt;&lt;P&gt;I want to calculate the amount of data ingested into splunk to evaluate licensing/disk space needs.&lt;/P&gt;&lt;P&gt;I have two queries which I ran for 24 hours and for 30 days and in both I got different outputs with alot of difference.&lt;/P&gt;&lt;P&gt;Query 1:&lt;BR /&gt;index=* | eval size=len(_raw) | eval gbsize=(size/1024/1024/1024) | stats sum(gbsize) by index&lt;/P&gt;&lt;P&gt;Query 2:&lt;BR /&gt;| dbinspect index=*|eval sizeOnDiskGB=(sizeOnDiskMB/1024) | stats sum(rawSize) AS rawTotal, sum(sizeOnDiskGB) AS diskTotalinGB by index|sort -diskTotalinGB&lt;/P&gt;&lt;P&gt;I see a difference of around 3-4 GB for some indexes and presume one of these queries or even both of these queries might not be correct.&lt;BR /&gt;Can anyone kindly suggest which one is the correct one to use. I can't use _internal as mentioned above.&lt;/P&gt;&lt;P&gt;Thanks in Advance!&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Abhishek Singh&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 15:33:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Calculate-Index-Size-increase-24-hours-No-admin-privilege/m-p/526057#M148483</guid>
      <dc:creator>asing13</dc:creator>
      <dc:date>2020-10-22T15:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Index Size increase 24 hours. No admin privilege.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Calculate-Index-Size-increase-24-hours-No-admin-privilege/m-p/526103#M148498</link>
      <description>&lt;P&gt;In my testing, the first query more closely matches the result from the internal index.&amp;nbsp; Of course, it does not work at all on metric indexes.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 20:12:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Calculate-Index-Size-increase-24-hours-No-admin-privilege/m-p/526103#M148498</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-10-22T20:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Index Size increase 24 hours. No admin privilege.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Calculate-Index-Size-increase-24-hours-No-admin-privilege/m-p/526122#M148502</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp; !&lt;BR /&gt;I asked a guy to check the cloud monitoring app and it seems that the Query 1 is closer to the ingested volume of data that is shown in the app.&lt;/P&gt;&lt;P&gt;I have a follow up question. If I need to calculate how much disk space will be required at server level, what all factors do I need to check. I believe that there is something as a multiplication factor(for replication of data) which determines the space taken by the data. What all other factors do I need to take care before coming to a conclusion?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 21:20:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Calculate-Index-Size-increase-24-hours-No-admin-privilege/m-p/526122#M148502</guid>
      <dc:creator>asing13</dc:creator>
      <dc:date>2020-10-22T21:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Index Size increase 24 hours. No admin privilege.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Calculate-Index-Size-increase-24-hours-No-admin-privilege/m-p/526147#M148505</link>
      <description>&lt;P&gt;Query1 is more useful for your licensing needs since it shows you the amount of data being ingested&lt;/P&gt;&lt;P&gt;Query2 is more useful for disk space forecast since this calculates the disk utilized after replication and field extractions are done.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 22:54:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Calculate-Index-Size-increase-24-hours-No-admin-privilege/m-p/526147#M148505</guid>
      <dc:creator>arjunpkishore5</dc:creator>
      <dc:date>2020-10-22T22:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Index Size increase 24 hours. No admin privilege.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Calculate-Index-Size-increase-24-hours-No-admin-privilege/m-p/526203#M148517</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/194278"&gt;@arjunpkishore5&lt;/a&gt;&amp;nbsp;!&lt;BR /&gt;&lt;BR /&gt;I used these two queries :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;|eventcount summarize=false index=* report_size=true | eval GB=(size_bytes/1024)/(1024*1024) | stats sum(GB) as total by index|sort -total&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;| tstats earliest(_indextime) AS indexing_time where index=* OR index=_* by index|convert ctime(indexing_time) timeformat="%m/%d/%Y"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The first query gave me all the disk space event logs would take (without a replication factor). I checked and found out that the replication factor is 3.&lt;BR /&gt;Multiplied the values with 3 and got the total disk space required by each index (With replication).&lt;/P&gt;&lt;P&gt;Now, I took the second query and got the total number of days from which the first indexing happened for an indexer.&lt;/P&gt;&lt;P&gt;I got the total number of days for which indexers are being used by by substracting with current date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I took the average disk required by dividing the two outputs and estimated the disk spaces for the next 3months, 6 months, 9 months and 12 months.&lt;/P&gt;&lt;P&gt;Hope the way I took is ok.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Abhishek Singh&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 10:01:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Calculate-Index-Size-increase-24-hours-No-admin-privilege/m-p/526203#M148517</guid>
      <dc:creator>asing13</dc:creator>
      <dc:date>2020-10-23T10:01:21Z</dc:date>
    </item>
  </channel>
</rss>

