<?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: REST endpoint: data/indexes-extended - Why is total_raw_size is bigger than total_size in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/REST-endpoint-data-indexes-extended-Why-is-total-raw-size-is/m-p/344737#M63385</link>
    <description>&lt;P&gt;total_raw_size: essentially uncompressed bytes indexed on this indexer for this index&lt;BR /&gt;
total_size: essentially size on disk for after compression and indexing metadata on this indexer for this index&lt;/P&gt;

&lt;P&gt;On average it will be normal for total_size to be 50% of total_raw_size.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 00:26:45 GMT</pubDate>
    <dc:creator>bandit</dc:creator>
    <dc:date>2020-09-30T00:26:45Z</dc:date>
    <item>
      <title>REST endpoint: data/indexes-extended - Why is total_raw_size is bigger than total_size</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-endpoint-data-indexes-extended-Why-is-total-raw-size-is/m-p/344735#M63383</link>
      <description>&lt;P&gt;I tried to interpret the output the REST endpoint from Splunk doc:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.2/RESTREF/RESTintrospect#data.2Findexes-extended.2F.7Bname.7D" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.2/RESTREF/RESTintrospect#data.2Findexes-extended.2F.7Bname.7D&lt;/A&gt;&lt;BR /&gt;
and have problem understanding the 2 output parameters total_raw_size and total_size&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;API:&lt;/STRONG&gt;&lt;BR /&gt;
data/indexes-extended/{name}&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Usage details&lt;/STRONG&gt;&lt;BR /&gt;
total_raw_size  (If total_size &amp;gt; 0) Cumulative size (fractional MB) on disk of the &lt;BUCKET&gt;/rawdata/ directories of all buckets in this index, excluding frozen.&lt;BR /&gt;
total_size  Size (fractional MB) on disk of this index.&lt;/BUCKET&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;BR /&gt;
       &lt;KEY name="total_raw_size"&gt;28.000&lt;A href="https://community.splunk.com/s:key" target="_blank"&gt;/s:key&lt;/A&gt;&lt;BR /&gt;
       &lt;KEY name="total_size"&gt;22.000&lt;A href="https://community.splunk.com/s:key" target="_blank"&gt;/s:key&lt;/A&gt;&lt;/KEY&gt;&lt;/KEY&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt;&lt;BR /&gt;
Why is total_raw_size bigger the total_size? Note that I got the same result when applying this API on my cluster.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:24:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-endpoint-data-indexes-extended-Why-is-total-raw-size-is/m-p/344735#M63383</guid>
      <dc:creator>thenhaque</dc:creator>
      <dc:date>2020-09-29T18:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: REST endpoint: data/indexes-extended - Why is total_raw_size is bigger than total_size</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-endpoint-data-indexes-extended-Why-is-total-raw-size-is/m-p/344736#M63384</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;rawSize: The volume in bytes of the raw data files in each bucket. This value represents the volume before compression and the addition of index files.&lt;/P&gt;

&lt;P&gt;sizeOnDisk: The size in MB of disk space that the bucket takes up expressed as a floating point number. This value represents the volume of the compressed raw data files and the index files.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.2/SearchReference/Dbinspect"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.2/SearchReference/Dbinspect&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Strive&lt;/P&gt;</description>
      <pubDate>Sat, 10 Mar 2018 00:42:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-endpoint-data-indexes-extended-Why-is-total-raw-size-is/m-p/344736#M63384</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2018-03-10T00:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: REST endpoint: data/indexes-extended - Why is total_raw_size is bigger than total_size</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-endpoint-data-indexes-extended-Why-is-total-raw-size-is/m-p/344737#M63385</link>
      <description>&lt;P&gt;total_raw_size: essentially uncompressed bytes indexed on this indexer for this index&lt;BR /&gt;
total_size: essentially size on disk for after compression and indexing metadata on this indexer for this index&lt;/P&gt;

&lt;P&gt;On average it will be normal for total_size to be 50% of total_raw_size.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:26:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-endpoint-data-indexes-extended-Why-is-total-raw-size-is/m-p/344737#M63385</guid>
      <dc:creator>bandit</dc:creator>
      <dc:date>2020-09-30T00:26:45Z</dc:date>
    </item>
  </channel>
</rss>

