<?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: how to get list of search peers via rest api in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/how-to-get-list-of-search-peers-via-rest-api/m-p/50677#M9700</link>
    <description>&lt;P&gt;Unsupported and undocumented, but there is an endpoint here: &lt;A href="https://localhost:8489/services/search/distributed/peers" rel="nofollow"&gt;https://localhost:8489/services/search/distributed/peers&lt;/A&gt;, and here: &lt;A href="https://localhost:8489/servicesNS/admin/-/search/distributed/peers" rel="nofollow"&gt;https://localhost:8489/servicesNS/admin/-/search/distributed/peers&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;In general, you could go via the Splunk Manager UI to the admin page that lists out the items you're looking for, and see what URLs get hit in the splunkd_access.log file.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Sep 2010 06:46:32 GMT</pubDate>
    <dc:creator>gkanapathy</dc:creator>
    <dc:date>2010-09-15T06:46:32Z</dc:date>
    <item>
      <title>how to get list of search peers via rest api</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-get-list-of-search-peers-via-rest-api/m-p/50676#M9699</link>
      <description>&lt;P&gt;I can't seem to find the list of indexer nodes (search peers) through the rest api on the search head.&lt;/P&gt;

&lt;P&gt;any ideas?&lt;/P&gt;

&lt;P&gt;its v 4.1&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2010 03:58:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-get-list-of-search-peers-via-rest-api/m-p/50676#M9699</guid>
      <dc:creator>hiddenkirby</dc:creator>
      <dc:date>2010-09-15T03:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to get list of search peers via rest api</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-get-list-of-search-peers-via-rest-api/m-p/50677#M9700</link>
      <description>&lt;P&gt;Unsupported and undocumented, but there is an endpoint here: &lt;A href="https://localhost:8489/services/search/distributed/peers" rel="nofollow"&gt;https://localhost:8489/services/search/distributed/peers&lt;/A&gt;, and here: &lt;A href="https://localhost:8489/servicesNS/admin/-/search/distributed/peers" rel="nofollow"&gt;https://localhost:8489/servicesNS/admin/-/search/distributed/peers&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;In general, you could go via the Splunk Manager UI to the admin page that lists out the items you're looking for, and see what URLs get hit in the splunkd_access.log file.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2010 06:46:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-get-list-of-search-peers-via-rest-api/m-p/50677#M9700</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-09-15T06:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to get list of search peers via rest api</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-get-list-of-search-peers-via-rest-api/m-p/50678#M9701</link>
      <description>&lt;P&gt;If you are running Splunk 4.3 or higher, you can rely on the &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Rest"&gt;rest&lt;/A&gt; search command to obtain this list:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/server/info | table splunk_server
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Note that the following search will list all peers responding to distributed search but also the local search-head.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2014 20:50:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-get-list-of-search-peers-via-rest-api/m-p/50678#M9701</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2014-02-05T20:50:06Z</dc:date>
    </item>
  </channel>
</rss>

