<?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 search fail with Error : DistributedSearchResultCollectionManager - Not connecting to peer xxx because it has been optimized out. Groups in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/search-fail-with-Error-DistributedSearchResultCollectionManager/m-p/113159#M4298</link>
    <description>&lt;P&gt;I have just deployed Splunk 6.2 with Search Head and 12 indexers. My searches are failing with error &lt;/P&gt;

&lt;P&gt;05-18-2015 19:15:40.924 INFO   DistributedSearchResultCollectionManager - Not connecting to peer 'indexe500010' because it has been optimized out. Groups&lt;BR /&gt;&lt;BR /&gt;
05-18-2015 19:15:40.924 INFO  DistributedSearchResultCollectionManager - Not connecting to peer 'indexer500011' because it has been optimized out. Groups&lt;BR /&gt;&lt;BR /&gt;
05-18-2015 19:15:40.924 INFO  DistributedSearchResultCollectionManager - Not connecting to peer ' indexer 500012' because it has been optimized out. Groups  &lt;/P&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;</description>
    <pubDate>Mon, 18 May 2015 20:39:52 GMT</pubDate>
    <dc:creator>rbal_splunk</dc:creator>
    <dc:date>2015-05-18T20:39:52Z</dc:date>
    <item>
      <title>search fail with Error : DistributedSearchResultCollectionManager - Not connecting to peer xxx because it has been optimized out. Groups</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/search-fail-with-Error-DistributedSearchResultCollectionManager/m-p/113159#M4298</link>
      <description>&lt;P&gt;I have just deployed Splunk 6.2 with Search Head and 12 indexers. My searches are failing with error &lt;/P&gt;

&lt;P&gt;05-18-2015 19:15:40.924 INFO   DistributedSearchResultCollectionManager - Not connecting to peer 'indexe500010' because it has been optimized out. Groups&lt;BR /&gt;&lt;BR /&gt;
05-18-2015 19:15:40.924 INFO  DistributedSearchResultCollectionManager - Not connecting to peer 'indexer500011' because it has been optimized out. Groups&lt;BR /&gt;&lt;BR /&gt;
05-18-2015 19:15:40.924 INFO  DistributedSearchResultCollectionManager - Not connecting to peer ' indexer 500012' because it has been optimized out. Groups  &lt;/P&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2015 20:39:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/search-fail-with-Error-DistributedSearchResultCollectionManager/m-p/113159#M4298</guid>
      <dc:creator>rbal_splunk</dc:creator>
      <dc:date>2015-05-18T20:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: search fail with Error : DistributedSearchResultCollectionManager - Not connecting to peer xxx because it has been optimized out. Groups</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/search-fail-with-Error-DistributedSearchResultCollectionManager/m-p/113160#M4299</link>
      <description>&lt;P&gt;The message turned out  new App  called  DMC ( Refer &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Admin/ConfiguretheMonitoringConsole" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/Admin/ConfiguretheMonitoringConsole&lt;/A&gt;) that is available with Splunk Version 6.2. &lt;/P&gt;

&lt;P&gt;run btool command for  distsearch on Search Head shows  ( using $SPLUNK_HOME/bin/splunk cmd btool distsearchlist –debug). The &lt;BR /&gt;
Output shows &lt;BR /&gt;
.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;.../etc/system/default/distsearch.conf [bundleEnforcerWhitelist]
..../etc/system/local/distsearch.conf   [distributedSearch]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;.&lt;BR /&gt;
    .&lt;BR /&gt;
    ..../etc/system/local/distsearch.conf   servers = indexer500010:8089,indexer500011:8089,indexer500012:8089,indexer500013:8089,indexer500014:8089,indexer500015:8089&lt;BR /&gt;
    ..../etc/system/default/distsearch.conf shareBundles = true&lt;BR /&gt;
    ..../etc/system/default/distsearch.conf statusTimeout = 10&lt;BR /&gt;
    ..../etc/system/default/distsearch.conf useSHPBundleReplication = true&lt;BR /&gt;
    ..../etc/system/local/distsearch.conf   [distributedSearch:dmc_group_cluster_master]&lt;BR /&gt;
    ..../etc/system/local/distsearch.conf   [distributedSearch:dmc_group_deployment_server]&lt;BR /&gt;
    ..../etc/system/local/distsearch.conf   [distributedSearch:dmc_group_indexer]&lt;BR /&gt;
    ..../etc/system/local/distsearch.conf   default = true&lt;BR /&gt;
    ..../etc/system/local/distsearch.conf   [distributedSearch:dmc_group_kv_store]&lt;/P&gt;

&lt;P&gt;Notice that distsearch.conf has many groups and out of these groups [distributedSearch:dmc_group_indexer]  is the default  group, as a result you search is not working. In your case you need to make group [distributedSearch]  as default.&lt;/P&gt;

&lt;P&gt;So make the following change to the distsearch.conf   &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[distributedSearch]
default = true
[distributedSearch:dmc_group_indexer]
default = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also refer- &lt;A href="http://answers.splunk.com/answers/221468/search-returns-zero-results-searchlog-reports-dist.html" target="_blank"&gt;http://answers.splunk.com/answers/221468/search-returns-zero-results-searchlog-reports-dist.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:58:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/search-fail-with-Error-DistributedSearchResultCollectionManager/m-p/113160#M4299</guid>
      <dc:creator>rbal_splunk</dc:creator>
      <dc:date>2020-09-28T19:58:58Z</dc:date>
    </item>
  </channel>
</rss>

