<?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 DMC Alerts - Search peer not responding in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/DMC-Alerts-Search-peer-not-responding/m-p/408572#M7069</link>
    <description>&lt;P&gt;We are using Splunk DMC to monitor the health of our Splunk infrastructure. From last few days, DMC is alerting that our indexer server "XXXX" is not responding.&lt;/P&gt;

&lt;P&gt;However, when we log in and check the server "XXXX", it was working fine and Splunk was up and running.&lt;/P&gt;

&lt;P&gt;Error:&lt;/P&gt;

&lt;P&gt;Unable to distribute to peer named "XXXX" using the uri-scheme=https because peer has status="Down". Please verify uri-scheme, connectivity to the search peer, that the search peer is up, and an adequate level of system resources are available. See the Troubleshooting Manual for more information.&lt;/P&gt;

&lt;P&gt;Any advice on this?&lt;/P&gt;</description>
    <pubDate>Fri, 18 Jan 2019 04:40:39 GMT</pubDate>
    <dc:creator>vinkumar_splunk</dc:creator>
    <dc:date>2019-01-18T04:40:39Z</dc:date>
    <item>
      <title>DMC Alerts - Search peer not responding</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/DMC-Alerts-Search-peer-not-responding/m-p/408572#M7069</link>
      <description>&lt;P&gt;We are using Splunk DMC to monitor the health of our Splunk infrastructure. From last few days, DMC is alerting that our indexer server "XXXX" is not responding.&lt;/P&gt;

&lt;P&gt;However, when we log in and check the server "XXXX", it was working fine and Splunk was up and running.&lt;/P&gt;

&lt;P&gt;Error:&lt;/P&gt;

&lt;P&gt;Unable to distribute to peer named "XXXX" using the uri-scheme=https because peer has status="Down". Please verify uri-scheme, connectivity to the search peer, that the search peer is up, and an adequate level of system resources are available. See the Troubleshooting Manual for more information.&lt;/P&gt;

&lt;P&gt;Any advice on this?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 04:40:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/DMC-Alerts-Search-peer-not-responding/m-p/408572#M7069</guid>
      <dc:creator>vinkumar_splunk</dc:creator>
      <dc:date>2019-01-18T04:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: DMC Alerts - Search peer not responding</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/DMC-Alerts-Search-peer-not-responding/m-p/408573#M7070</link>
      <description>&lt;P&gt;The search query of alert "[DMC Alert - Search Peer Not Responding]" hitting the rest point on "splunk_server=local" where "local" refers to the search head. Below is the base search,&lt;/P&gt;

&lt;P&gt;| rest splunk_server=local /services/search/distributed/peers/ &lt;BR /&gt;
| where status!="Up" &lt;BR /&gt;
| fields peerName, status &lt;BR /&gt;
| rename peerName as Instance, status as Status&lt;/P&gt;

&lt;P&gt;Looks like the DMC is timing out when search peer is not available to reach and throws the inconsistent results to the search query. &lt;/P&gt;

&lt;P&gt;Below is the workaround to fix this:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;On the DMC please add the below parameters under $SPLUNK_HOME/etc/system/local/distsearch.conf,&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;[distributedSearch] &lt;BR /&gt;
statusTimeout = 120 &lt;BR /&gt;
connectionTimeout = 120&lt;BR /&gt;
serverTimeout = 120&lt;BR /&gt;
sendTimeout = 120&lt;BR /&gt;
receiveTimeout= 120&lt;BR /&gt;
authTokenConnectionTimeout = 120 &lt;BR /&gt;
authTokenSendTimeout = 120 &lt;BR /&gt;
authTokenReceiveTimeout = 120 &lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;Restart Splunk service on DMC for the changes to take effect.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;====&lt;/P&gt;

&lt;P&gt;On indexers, please add the below parameters under $SPLUNK_HOME/etc/system/local/distsearch.conf,&lt;/P&gt;

&lt;P&gt;[replicationSettings]&lt;BR /&gt;
connectionTimeout = 120&lt;BR /&gt;
sendRcvTimeout = 120 &lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;Restart Splunk service on indexers for the changes to take effect.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Hope it helps!&lt;/P&gt;

&lt;P&gt;Cheers.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 04:46:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/DMC-Alerts-Search-peer-not-responding/m-p/408573#M7070</guid>
      <dc:creator>mbadhusha_splun</dc:creator>
      <dc:date>2019-01-18T04:46:18Z</dc:date>
    </item>
  </channel>
</rss>

