<?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 /services/data/indexes in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/REST-services-data-indexes-How-can-I-see-all-my-indexes-using/m-p/104385#M21985</link>
    <description>&lt;P&gt;According to the docs, &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/data/indexes count=0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="https://indexer:8089/services/data/indexes?count=-1" target="test_blank"&gt;https://indexer:8089/services/data/indexes?count=-1&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The docs mention that the default for the &lt;CODE&gt;rest&lt;/CODE&gt; search command is 0, i.e. unlimited. For the REST API, however the documented default is 30 (and -1 is what you set for 'unlimited'). &lt;/P&gt;

&lt;P&gt;As I have less than 30 indexes, I cannot verify this.&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;/K&lt;/P&gt;</description>
    <pubDate>Tue, 23 Apr 2013 15:06:12 GMT</pubDate>
    <dc:creator>kristian_kolb</dc:creator>
    <dc:date>2013-04-23T15:06:12Z</dc:date>
    <item>
      <title>REST /services/data/indexes: How can I see all my indexes using this command?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-services-data-indexes-How-can-I-see-all-my-indexes-using/m-p/104384#M21984</link>
      <description>&lt;P&gt;When I run the following command to list the indexes on my indexers, I only see the top 30 per indexer:&lt;/P&gt;
&lt;P&gt;| rest /services/data/indexes&lt;/P&gt;
&lt;P&gt;How can I see all my indexes using this command?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 16:54:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-services-data-indexes-How-can-I-see-all-my-indexes-using/m-p/104384#M21984</guid>
      <dc:creator>SK110176</dc:creator>
      <dc:date>2023-09-12T16:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: REST /services/data/indexes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-services-data-indexes-How-can-I-see-all-my-indexes-using/m-p/104385#M21985</link>
      <description>&lt;P&gt;According to the docs, &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/data/indexes count=0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="https://indexer:8089/services/data/indexes?count=-1" target="test_blank"&gt;https://indexer:8089/services/data/indexes?count=-1&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The docs mention that the default for the &lt;CODE&gt;rest&lt;/CODE&gt; search command is 0, i.e. unlimited. For the REST API, however the documented default is 30 (and -1 is what you set for 'unlimited'). &lt;/P&gt;

&lt;P&gt;As I have less than 30 indexes, I cannot verify this.&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;/K&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2013 15:06:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-services-data-indexes-How-can-I-see-all-my-indexes-using/m-p/104385#M21985</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-04-23T15:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: REST /services/data/indexes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-services-data-indexes-How-can-I-see-all-my-indexes-using/m-p/104386#M21986</link>
      <description>&lt;P&gt;I found this answer first, and then found it here: &lt;A href="https://answers.splunk.com/answers/10237/getting-splunk-api-to-return-more-than-30-deployment-clients.html"&gt;https://answers.splunk.com/answers/10237/getting-splunk-api-to-return-more-than-30-deployment-clients.html&lt;/A&gt;&lt;BR /&gt;
I was not able to find documentation of the "-1". Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 16:54:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-services-data-indexes-How-can-I-see-all-my-indexes-using/m-p/104386#M21986</guid>
      <dc:creator>efavreau</dc:creator>
      <dc:date>2018-04-12T16:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: REST /services/data/indexes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-services-data-indexes-How-can-I-see-all-my-indexes-using/m-p/657325#M111284</link>
      <description>&lt;P&gt;/services/data/indexes is not listing the metrics indexes&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 11:59:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-services-data-indexes-How-can-I-see-all-my-indexes-using/m-p/657325#M111284</guid>
      <dc:creator>jokertothequinn</dc:creator>
      <dc:date>2023-09-12T11:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: REST /services/data/indexes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-services-data-indexes-How-can-I-see-all-my-indexes-using/m-p/657547#M111295</link>
      <description>&lt;P&gt;In order to get metrics index info also:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rest /services/data/indexes count=0 datatype=all&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 07:17:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-services-data-indexes-How-can-I-see-all-my-indexes-using/m-p/657547#M111295</guid>
      <dc:creator>jokertothequinn</dc:creator>
      <dc:date>2023-09-14T07:17:08Z</dc:date>
    </item>
  </channel>
</rss>

