<?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: Does the indexer acknowledgement queue/list persist across Splunk restarts? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Does-the-indexer-acknowledgement-queue-list-persist-across/m-p/32087#M5671</link>
    <description>&lt;P&gt;Looks good thanks. I think persistant queues is what I was looking for.&lt;/P&gt;</description>
    <pubDate>Fri, 20 Apr 2012 23:35:54 GMT</pubDate>
    <dc:creator>Glenn</dc:creator>
    <dc:date>2012-04-20T23:35:54Z</dc:date>
    <item>
      <title>Does the indexer acknowledgement queue/list persist across Splunk restarts?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Does-the-indexer-acknowledgement-queue-list-persist-across/m-p/32082#M5666</link>
      <description>&lt;P&gt;I'd like to user indexer acknowledgement in my HA setup when forwarding from a primary indexer which receives events from forwarders, to a secondary indexer (despite the horrible proliferation of duplicate events it can cause, but that's another issue).&lt;/P&gt;

&lt;P&gt;I'd like to know whether the queue or list of unacknowledged events maintained on the primary indexer will persist if the primary indexer is restarted (while the secondary is still unavailable).&lt;/P&gt;

&lt;P&gt;If it doesn't, we could easily lose the queue and have gaps in our secondary index, breaking HA.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2012 07:41:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Does-the-indexer-acknowledgement-queue-list-persist-across/m-p/32082#M5666</guid>
      <dc:creator>Glenn</dc:creator>
      <dc:date>2012-04-20T07:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Does the indexer acknowledgement queue/list persist across Splunk restarts?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Does-the-indexer-acknowledgement-queue-list-persist-across/m-p/32083#M5667</link>
      <description>&lt;P&gt;If I am correct, the ACK=true option (on the forwarder) will cause the forwarder to wait for an acknowledgement from the indexer that the event has been written to disk.&lt;BR /&gt;
So If the indexer goes down, the forwarder will retry.&lt;BR /&gt;
As you can see, at the end it will not cause gaps, only accidental duplicates.&lt;/P&gt;

&lt;P&gt;Edit : &lt;/P&gt;

&lt;P&gt;In the case of a forwarder&lt;/P&gt;

&lt;P&gt;About tailing :&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;File Tailing queues, splunk keeps track of the position it was reading a file, and if it is restarted, it will restart from that point.&lt;/LI&gt;
&lt;LI&gt;Scripted inputs/network inputs (example syslog on port 514), a splunk instance will store thoses queues in memory, and cannot recover them. An easy workaround is to use a syslog-ng/rsyslog server to write the log to file, and have splunk monitor the files (equivalent to disk buffer).&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;About queues :&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Memory queues, used by default. A forwarder crashing/shutdown while queueing data will lose the data waiting in the memory queue. &lt;/LI&gt;
&lt;LI&gt;Persistent queues, you can configure your forwarders to keep part of the data queued on disk instead of memory, they will be resumed once restarted.
see &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.1/Data/Usepersistentqueues"&gt;http://docs.splunk.com/Documentation/Splunk/4.3.1/Data/Usepersistentqueues&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;About HA acknowledgement :&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;you can also add another level of security, by using acknowledgments, this is more costly in traffic and speed.
&lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.1/Deploy/Protectagainstlossofin-flightdata"&gt;http://docs.splunk.com/Documentation/Splunk/4.3.1/Deploy/Protectagainstlossofin-flightdata&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 20 Apr 2012 14:46:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Does-the-indexer-acknowledgement-queue-list-persist-across/m-p/32083#M5667</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-04-20T14:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Does the indexer acknowledgement queue/list persist across Splunk restarts?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Does-the-indexer-acknowledgement-queue-list-persist-across/m-p/32084#M5668</link>
      <description>&lt;P&gt;I should have been more clear. I mean, what happens to the queue on the forwarder, if it goes down while the indexer is already down. ie. does the forwarder's queue still have the same data after it is restarted?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2012 15:51:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Does-the-indexer-acknowledgement-queue-list-persist-across/m-p/32084#M5668</guid>
      <dc:creator>Glenn</dc:creator>
      <dc:date>2012-04-20T15:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Does the indexer acknowledgement queue/list persist across Splunk restarts?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Does-the-indexer-acknowledgement-queue-list-persist-across/m-p/32085#M5669</link>
      <description>&lt;P&gt;edited above.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2012 17:33:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Does-the-indexer-acknowledgement-queue-list-persist-across/m-p/32085#M5669</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-04-20T17:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Does the indexer acknowledgement queue/list persist across Splunk restarts?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Does-the-indexer-acknowledgement-queue-list-persist-across/m-p/32086#M5670</link>
      <description>&lt;P&gt;You could use persistent queues on the forwarder so that the data is there after restart, otherwise you'll lose that data in memory.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.1/Data/Usepersistentqueues"&gt;http://docs.splunk.com/Documentation/Splunk/4.3.1/Data/Usepersistentqueues&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2012 18:03:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Does-the-indexer-acknowledgement-queue-list-persist-across/m-p/32086#M5670</guid>
      <dc:creator>sdaniels</dc:creator>
      <dc:date>2012-04-20T18:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Does the indexer acknowledgement queue/list persist across Splunk restarts?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Does-the-indexer-acknowledgement-queue-list-persist-across/m-p/32087#M5671</link>
      <description>&lt;P&gt;Looks good thanks. I think persistant queues is what I was looking for.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2012 23:35:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Does-the-indexer-acknowledgement-queue-list-persist-across/m-p/32087#M5671</guid>
      <dc:creator>Glenn</dc:creator>
      <dc:date>2012-04-20T23:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Does the indexer acknowledgement queue/list persist across Splunk restarts?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Does-the-indexer-acknowledgement-queue-list-persist-across/m-p/32088#M5672</link>
      <description>&lt;P&gt;Thanks, this is helpful.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2012 23:36:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Does-the-indexer-acknowledgement-queue-list-persist-across/m-p/32088#M5672</guid>
      <dc:creator>Glenn</dc:creator>
      <dc:date>2012-04-20T23:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Does the indexer acknowledgement queue/list persist across Splunk restarts?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Does-the-indexer-acknowledgement-queue-list-persist-across/m-p/32089#M5673</link>
      <description>&lt;P&gt;@yannK, do you have specific measures of the cost of enabling HA acknowledgement beyond what's in the document you linked?  I understand the memory usage on the forwarder side would increase, but I'd like to know the effect on the indexer side as well.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2012 17:37:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Does-the-indexer-acknowledgement-queue-list-persist-across/m-p/32089#M5673</guid>
      <dc:creator>cphair</dc:creator>
      <dc:date>2012-07-09T17:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Does the indexer acknowledgement queue/list persist across Splunk restarts?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Does-the-indexer-acknowledgement-queue-list-persist-across/m-p/568134#M100841</link>
      <description>&lt;P&gt;Here is the updated link for community convenience:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.2/Data/Usepersistentqueues" target="_blank" rel="noopener"&gt;Use persistent queues to help prevent data loss - Splunk Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.2/Forwarding/Protectagainstlossofin-flightdata" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.2/Forwarding/Protectagainstlossofin-flightdata&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 20:36:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Does-the-indexer-acknowledgement-queue-list-persist-across/m-p/568134#M100841</guid>
      <dc:creator>youngsuh</dc:creator>
      <dc:date>2021-09-22T20:36:47Z</dc:date>
    </item>
  </channel>
</rss>

