<?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: Is there a way to determine how much disk space my sourcetype is taking up? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-determine-how-much-disk-space-my-sourcetype-is/m-p/164694#M33405</link>
    <description>&lt;P&gt;in 6.1 that didn't seem to work at all for me.  i found success with the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal metrics kb group=per_sourcetype_thruput | eval sizeMB = round(kb/1024,2)| stats sum(sizeMB) by series | sort -sum(sizeMB) | rename sum(sizeMB) AS "Size on Disk (MB)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 08 Dec 2014 23:57:43 GMT</pubDate>
    <dc:creator>awurster</dc:creator>
    <dc:date>2014-12-08T23:57:43Z</dc:date>
    <item>
      <title>Is there a way to determine how much disk space my sourcetype is taking up?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-determine-how-much-disk-space-my-sourcetype-is/m-p/164692#M33403</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Is there a way to determine how much disk space a sourcetype is using? &lt;/P&gt;</description>
      <pubDate>Wed, 15 Oct 2014 22:13:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-determine-how-much-disk-space-my-sourcetype-is/m-p/164692#M33403</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2014-10-15T22:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to determine how much disk space my sourcetype is taking up?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-determine-how-much-disk-space-my-sourcetype-is/m-p/164693#M33404</link>
      <description>&lt;P&gt;So here's one option. You can see how much data you are indexing for a given time period per sourcetype. The general rule for Splunk disk storage is 1/2 X Indexing X Days. Example: 1/2 X 5 gb X 365 days = 912.5 GB of storage.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index=&lt;EM&gt;internal metrics kb series!=&lt;/EM&gt;* "group=per_sourcetype_thruput" | stats sum(indexed_mb) by series&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Another option might be using the dbinspect command:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| dbinspect index=my_index&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;If you can estimate the percentage of the index your sourcetype takes up, you can can an accurate estimate of the disk usage. Reference: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.4/SearchReference/Dbinspect" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.4/SearchReference/Dbinspect&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:55:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-determine-how-much-disk-space-my-sourcetype-is/m-p/164693#M33404</guid>
      <dc:creator>jlanders</dc:creator>
      <dc:date>2020-09-28T17:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to determine how much disk space my sourcetype is taking up?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-determine-how-much-disk-space-my-sourcetype-is/m-p/164694#M33405</link>
      <description>&lt;P&gt;in 6.1 that didn't seem to work at all for me.  i found success with the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal metrics kb group=per_sourcetype_thruput | eval sizeMB = round(kb/1024,2)| stats sum(sizeMB) by series | sort -sum(sizeMB) | rename sum(sizeMB) AS "Size on Disk (MB)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 08 Dec 2014 23:57:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-determine-how-much-disk-space-my-sourcetype-is/m-p/164694#M33405</guid>
      <dc:creator>awurster</dc:creator>
      <dc:date>2014-12-08T23:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to determine how much disk space my sourcetype is taking up?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-determine-how-much-disk-space-my-sourcetype-is/m-p/164695#M33406</link>
      <description>&lt;P&gt;Utilized your method @awurster and it worked perfectly. Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 17:18:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-determine-how-much-disk-space-my-sourcetype-is/m-p/164695#M33406</guid>
      <dc:creator>TomSquare31</dc:creator>
      <dc:date>2017-01-06T17:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to determine how much disk space my sourcetype is taking up?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-determine-how-much-disk-space-my-sourcetype-is/m-p/164696#M33407</link>
      <description>&lt;P&gt;I would be careful to convert to MB and round after sum'ing, not before&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jul 2018 04:19:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-determine-how-much-disk-space-my-sourcetype-is/m-p/164696#M33407</guid>
      <dc:creator>chadmedeiros</dc:creator>
      <dc:date>2018-07-25T04:19:45Z</dc:date>
    </item>
  </channel>
</rss>

