<?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 command for Index Size in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Rest-command-for-Index-Size/m-p/483406#M193334</link>
    <description>&lt;P&gt;Also refer to &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/RESTREF/RESTintrospect#data.2Findexes"&gt;https://docs.splunk.com/Documentation/Splunk/latest/RESTREF/RESTintrospect#data.2Findexes&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2019 04:59:18 GMT</pubDate>
    <dc:creator>gjanders</dc:creator>
    <dc:date>2019-11-15T04:59:18Z</dc:date>
    <item>
      <title>Rest command for Index Size</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rest-command-for-Index-Size/m-p/483404#M193332</link>
      <description>&lt;P&gt;Hi , I am using the below REST command to create 30+ indexes. But they are getting created with default size as 500 GB. &lt;BR /&gt;
How can I pass argument to restrict the total index size as 5GB?&lt;/P&gt;

&lt;P&gt;curl -k -u admin:pass &lt;A href="https://localhost:8089/services/data/indexes"&gt;https://localhost:8089/services/data/indexes&lt;/A&gt;  \&lt;BR /&gt;
    -d name=mymetricsindex                                          \&lt;BR /&gt;
    -d datatype=metric&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 15:55:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rest-command-for-Index-Size/m-p/483404#M193332</guid>
      <dc:creator>rashi83</dc:creator>
      <dc:date>2019-11-14T15:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Rest command for Index Size</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rest-command-for-Index-Size/m-p/483405#M193333</link>
      <description>&lt;P&gt;The below command will work.&lt;BR /&gt;
curl -k -u admin:pass &lt;A href="https://localhost:8089/services/data/indexes"&gt;https://localhost:8089/services/data/indexes&lt;/A&gt; \&lt;BR /&gt;
 -d name=mymetricsindex \&lt;BR /&gt;
 -d datatype=metric \&lt;BR /&gt;
 -d maxTotalDataSizeMB=5120&lt;/P&gt;

&lt;P&gt;For more attributes refer this: &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.0/Indexer/Configureindexstorage"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.0/Indexer/Configureindexstorage&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 16:17:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rest-command-for-Index-Size/m-p/483405#M193333</guid>
      <dc:creator>uagrawal_splunk</dc:creator>
      <dc:date>2019-11-14T16:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Rest command for Index Size</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rest-command-for-Index-Size/m-p/483406#M193334</link>
      <description>&lt;P&gt;Also refer to &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/RESTREF/RESTintrospect#data.2Findexes"&gt;https://docs.splunk.com/Documentation/Splunk/latest/RESTREF/RESTintrospect#data.2Findexes&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2019 04:59:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rest-command-for-Index-Size/m-p/483406#M193334</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2019-11-15T04:59:18Z</dc:date>
    </item>
  </channel>
</rss>

