<?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 How to calculate size of index via REST API? in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-calculate-size-of-index-via-REST-API/m-p/623985#M9240</link>
    <description>&lt;P&gt;I need to calculate the size of a clustered index, and I used this API for it:&lt;BR /&gt;&lt;SPAN&gt;/services/cluster/manager/indexes (&lt;A class="" title="https://docs.splunk.com/Documentation/Splunk/9.0.2/RESTREF/RESTcluster#:~:text=content%3E%0A%20%20%3C/entry%3E%0A%3C/feed%3E-,cluster/manager/indexes,-https%3A//%3Chost%3E%3A%3CmPort" href="https://docs.splunk.com/Documentation/Splunk/9.0.2/RESTREF/RESTcluster#:~:text=content%3E%0A%20%20%3C/entry%3E%0A%3C/feed%3E-,cluster/manager/indexes,-https%3A//%3Chost%3E%3A%3CmPort" target="_blank" rel="noopener noreferrer"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.2/RESTREF/RESTcluster#:~:text=content%3E%0A%20%20%3C/entry%3E%0A%3C/feed%3E-,cluster/manager/indexes,-https%3A//%3Chost%3E%3A%3CmPort&lt;/A&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But the&amp;nbsp;index_size returned in the response is different (much less) from the total I get, if I use the dbinspect command on a particular index, and add size for the db_&amp;lt;buckets&amp;gt;. i.e. originating buckets.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Is the&amp;nbsp;index_size supposed to denote something else? If so, it is not clearly mentioned in the API documentation.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Dec 2022 15:47:24 GMT</pubDate>
    <dc:creator>Commvault</dc:creator>
    <dc:date>2022-12-12T15:47:24Z</dc:date>
    <item>
      <title>How to calculate size of index via REST API?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-calculate-size-of-index-via-REST-API/m-p/623985#M9240</link>
      <description>&lt;P&gt;I need to calculate the size of a clustered index, and I used this API for it:&lt;BR /&gt;&lt;SPAN&gt;/services/cluster/manager/indexes (&lt;A class="" title="https://docs.splunk.com/Documentation/Splunk/9.0.2/RESTREF/RESTcluster#:~:text=content%3E%0A%20%20%3C/entry%3E%0A%3C/feed%3E-,cluster/manager/indexes,-https%3A//%3Chost%3E%3A%3CmPort" href="https://docs.splunk.com/Documentation/Splunk/9.0.2/RESTREF/RESTcluster#:~:text=content%3E%0A%20%20%3C/entry%3E%0A%3C/feed%3E-,cluster/manager/indexes,-https%3A//%3Chost%3E%3A%3CmPort" target="_blank" rel="noopener noreferrer"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.2/RESTREF/RESTcluster#:~:text=content%3E%0A%20%20%3C/entry%3E%0A%3C/feed%3E-,cluster/manager/indexes,-https%3A//%3Chost%3E%3A%3CmPort&lt;/A&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But the&amp;nbsp;index_size returned in the response is different (much less) from the total I get, if I use the dbinspect command on a particular index, and add size for the db_&amp;lt;buckets&amp;gt;. i.e. originating buckets.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Is the&amp;nbsp;index_size supposed to denote something else? If so, it is not clearly mentioned in the API documentation.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 15:47:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-calculate-size-of-index-via-REST-API/m-p/623985#M9240</guid>
      <dc:creator>Commvault</dc:creator>
      <dc:date>2022-12-12T15:47:24Z</dc:date>
    </item>
  </channel>
</rss>

