<?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 can i exclude search peers by default in distributed search? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-i-exclude-search-peers-by-default-in-distributed-search/m-p/96811#M25043</link>
    <description>&lt;P&gt;Thanks Damien i forgot about disabling them in the search peers section, it looks like when they are disabled you cannot search on them explicitly though with splunk_server="name" would be nice to have that option to search splunk indexers on demand but keep them disabled a percentage of the time.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Mar 2012 18:05:09 GMT</pubDate>
    <dc:creator>sonicZ</dc:creator>
    <dc:date>2012-03-20T18:05:09Z</dc:date>
    <item>
      <title>How can i exclude search peers by default in distributed search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-i-exclude-search-peers-by-default-in-distributed-search/m-p/96809#M25041</link>
      <description>&lt;P&gt;We have multiple splunk servers accessed by two central search heads, and some of these splunk servers are spread out geographically.&lt;BR /&gt;
Sometimes we get latency between some of the search peers and most of the time we are not searching these servers(for example our Australian splunk indexers)&lt;/P&gt;

&lt;P&gt;Default behaviour in distsearch.conf seems to look for all search peers unless specified with a NOT splunk_server = &lt;INDEXER&gt; is there a way to change the default to not include some indexers so you have to explicitly name them ?&lt;/INDEXER&gt;&lt;/P&gt;

&lt;P&gt;Checking in the spec file i see an interesting line, would this do the trick?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;disabled_servers = &amp;lt;comma separated list of servers&amp;gt;
 * A list of configured but disabled search peers.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Mar 2012 00:18:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-i-exclude-search-peers-by-default-in-distributed-search/m-p/96809#M25041</guid>
      <dc:creator>sonicZ</dc:creator>
      <dc:date>2012-03-20T00:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can i exclude search peers by default in distributed search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-i-exclude-search-peers-by-default-in-distributed-search/m-p/96810#M25042</link>
      <description>&lt;P&gt;That is certainly my understanding of the usage of the "disabled_servers" property in distsearch.conf&lt;/P&gt;

&lt;P&gt;You can also disable the search peer via Splunk Web : &lt;/P&gt;

&lt;P&gt;Manager -&amp;gt; Distributed search -&amp;gt;  Search peers -&amp;gt; Status : enabled|disabled &lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2012 02:15:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-i-exclude-search-peers-by-default-in-distributed-search/m-p/96810#M25042</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2012-03-20T02:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: How can i exclude search peers by default in distributed search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-i-exclude-search-peers-by-default-in-distributed-search/m-p/96811#M25043</link>
      <description>&lt;P&gt;Thanks Damien i forgot about disabling them in the search peers section, it looks like when they are disabled you cannot search on them explicitly though with splunk_server="name" would be nice to have that option to search splunk indexers on demand but keep them disabled a percentage of the time.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2012 18:05:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-i-exclude-search-peers-by-default-in-distributed-search/m-p/96811#M25043</guid>
      <dc:creator>sonicZ</dc:creator>
      <dc:date>2012-03-20T18:05:09Z</dc:date>
    </item>
  </channel>
</rss>

