<?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: Splunk offline timeouted but returns ERR_NOERR in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-offline-timeouted-but-returns-ERR-NOERR/m-p/500659#M85312</link>
    <description>&lt;P&gt;Shutting down Splunk on can take a while if the box is performing lots of searches as it will wait for these to stop.&lt;BR /&gt;
Clustered Indexers can also take a long time as they try to finalise operations before the process quits.&lt;/P&gt;

&lt;P&gt;Instead of waiting for the return from the offline command, I would poll the output from &lt;CODE&gt;./splunk status&lt;/CODE&gt; instead&lt;/P&gt;</description>
    <pubDate>Tue, 04 Feb 2020 13:53:36 GMT</pubDate>
    <dc:creator>nickhills</dc:creator>
    <dc:date>2020-02-04T13:53:36Z</dc:date>
    <item>
      <title>Splunk offline timeouted but returns ERR_NOERR</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-offline-timeouted-but-returns-ERR-NOERR/m-p/500658#M85311</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;

&lt;P&gt;I have a question regarding timeouts and return codes when Splunk is shutting down a cluster peer on a Linux system.&lt;BR /&gt;
I ran a script that issues a "splunk offline", waits for the command to return, and then starts the next action unless the previous command comes back with a non-zero return code.&lt;BR /&gt;
If that happens, the script stops and asks for the user's input, to either abort, retry, skip, or continue.&lt;BR /&gt;
We encountered a situation where the offlining ran into a timeout and the command returned with Splunk still being in the process of terminating.&lt;BR /&gt;
However, the script started the next command (which then stopped the flow when it detected an inconsistency), indicating that we received a ERR_NOERR return code from Splunk.&lt;BR /&gt;
Is that expected Splunk behaviour?&lt;/P&gt;

&lt;P&gt;Short info about the environment:&lt;BR /&gt;
Splunk 6.6.5 (build b119a2a8b0ad)&lt;BR /&gt;
multisite Indexer-Cluster with 16 peers&lt;/P&gt;

&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2020 13:19:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-offline-timeouted-but-returns-ERR-NOERR/m-p/500658#M85311</guid>
      <dc:creator>huszti21</dc:creator>
      <dc:date>2020-02-04T13:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk offline timeouted but returns ERR_NOERR</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-offline-timeouted-but-returns-ERR-NOERR/m-p/500659#M85312</link>
      <description>&lt;P&gt;Shutting down Splunk on can take a while if the box is performing lots of searches as it will wait for these to stop.&lt;BR /&gt;
Clustered Indexers can also take a long time as they try to finalise operations before the process quits.&lt;/P&gt;

&lt;P&gt;Instead of waiting for the return from the offline command, I would poll the output from &lt;CODE&gt;./splunk status&lt;/CODE&gt; instead&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2020 13:53:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-offline-timeouted-but-returns-ERR-NOERR/m-p/500659#M85312</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2020-02-04T13:53:36Z</dc:date>
    </item>
  </channel>
</rss>

