<?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 Can't manually put peer into detention - valid boolean error in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Can-t-manually-put-peer-into-detention-valid-boolean-error/m-p/302942#M7064</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I am trying to put one of our Cluster indexer peers into manual detention and i get a boolean error:&lt;/P&gt;

&lt;P&gt;CLI:&lt;BR /&gt;
\bin&amp;gt;splunk edit cluster-config -manual_detention on_ports_enabled&lt;BR /&gt;
Error:&lt;BR /&gt;
key=manual_detention with val=on_ports_enabled is not a valid boolean value&lt;/P&gt;

&lt;P&gt;I am running the above directly on the peer. I have not tried running from the CM.&lt;/P&gt;

&lt;P&gt;I just want to stop using it for replication as it falls far short in matching the rest of the cluster in terms of specs and continuously causes bucket errors with the rest of the cluster.&lt;/P&gt;

&lt;P&gt;I cant find any reference to this error or many people using the manual detention function.&lt;BR /&gt;
Any help would be very much appreciated&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 16:56:37 GMT</pubDate>
    <dc:creator>gerald_contrera</dc:creator>
    <dc:date>2020-09-29T16:56:37Z</dc:date>
    <item>
      <title>Can't manually put peer into detention - valid boolean error</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Can-t-manually-put-peer-into-detention-valid-boolean-error/m-p/302942#M7064</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I am trying to put one of our Cluster indexer peers into manual detention and i get a boolean error:&lt;/P&gt;

&lt;P&gt;CLI:&lt;BR /&gt;
\bin&amp;gt;splunk edit cluster-config -manual_detention on_ports_enabled&lt;BR /&gt;
Error:&lt;BR /&gt;
key=manual_detention with val=on_ports_enabled is not a valid boolean value&lt;/P&gt;

&lt;P&gt;I am running the above directly on the peer. I have not tried running from the CM.&lt;/P&gt;

&lt;P&gt;I just want to stop using it for replication as it falls far short in matching the rest of the cluster in terms of specs and continuously causes bucket errors with the rest of the cluster.&lt;/P&gt;

&lt;P&gt;I cant find any reference to this error or many people using the manual detention function.&lt;BR /&gt;
Any help would be very much appreciated&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:56:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Can-t-manually-put-peer-into-detention-valid-boolean-error/m-p/302942#M7064</guid>
      <dc:creator>gerald_contrera</dc:creator>
      <dc:date>2020-09-29T16:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can't manually put peer into detention - valid boolean error</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Can-t-manually-put-peer-into-detention-valid-boolean-error/m-p/302943#M7065</link>
      <description>&lt;P&gt;I would open a support case.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 01:19:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Can-t-manually-put-peer-into-detention-valid-boolean-error/m-p/302943#M7065</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-11-27T01:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can't manually put peer into detention - valid boolean error</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Can-t-manually-put-peer-into-detention-valid-boolean-error/m-p/302944#M7066</link>
      <description>&lt;P&gt;what version of splunk is this? also, does the peer show as "up" in the master dashboard?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 14:34:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Can-t-manually-put-peer-into-detention-valid-boolean-error/m-p/302944#M7066</guid>
      <dc:creator>iandrews_splunk</dc:creator>
      <dc:date>2017-11-30T14:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can't manually put peer into detention - valid boolean error</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Can-t-manually-put-peer-into-detention-valid-boolean-error/m-p/302945#M7067</link>
      <description>&lt;P&gt;I found that if i do the CLI &lt;/P&gt;

&lt;P&gt;splunk.exe edit cluster-config -manual_detention 1&lt;/P&gt;

&lt;P&gt;This puts the peer into detention with all ports on.&lt;/P&gt;

&lt;P&gt;Yes, the peer is visible in the dashboard and is now saying "ManualDetention-PortsEnabled " &lt;/P&gt;

&lt;P&gt;When i re-read the error it states it requires a boolean value, so either 0 or 1&lt;/P&gt;

&lt;P&gt;Perhaps the correct information in the documentation at &lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.0/Indexer/Peerdetention" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.0/Indexer/Peerdetention&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;should be &lt;/P&gt;

&lt;P&gt;splunk edit cluster-config -auth : -manual_detention 1 [off|on|on_ports_enabled]&lt;/P&gt;

&lt;P&gt;It seems to default to "on_ports_enabled" when using the boolean value of 1&lt;/P&gt;

&lt;P&gt;I appear to have resolved my question, however i would still like to know how to specifically enable the two different "on" options for future reference.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:59:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Can-t-manually-put-peer-into-detention-valid-boolean-error/m-p/302945#M7067</guid>
      <dc:creator>gerald_contrera</dc:creator>
      <dc:date>2020-09-29T16:59:47Z</dc:date>
    </item>
  </channel>
</rss>

