<?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: Universal Forwarder block stops all indexing completely in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-block-stops-all-indexing-completely/m-p/123210#M25453</link>
    <description>&lt;P&gt;dropEventsOnQueueFull (in outputs.conf) seems to have resolved it even though the manual seems to indicate it does the exact opposite and drops NEW events.&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/admin/outputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/admin/outputsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;May I recommend to a Splunk staff member to reword the manual entry for this to be less amiguous.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;If set to a positive number, wait &lt;INTEGER&gt; seconds before throwing out all new events until the output queue has space.&lt;/INTEGER&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;change to&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;If set to a positive number, wait &lt;INTEGER&gt; seconds before throwing out all new events (already in the queue) until the output queue has space. New events arriving at the indexer will still be placed onto the queue.&lt;/INTEGER&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;The way it is currently worded seems to indicate that once the queue is full any new events arriving at the indexer will be dropped. It makes no mention of removing/dropping data from the queue itself.&lt;/P&gt;

&lt;P&gt;Is there a better solution here?&lt;/P&gt;

&lt;P&gt;I have also tried setting queues in inputs.conf which has no effect.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Apr 2014 00:36:10 GMT</pubDate>
    <dc:creator>phoenixdigital</dc:creator>
    <dc:date>2014-04-09T00:36:10Z</dc:date>
    <item>
      <title>Universal Forwarder block stops all indexing completely</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-block-stops-all-indexing-completely/m-p/123209#M25452</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;We have a customer who could not justify the cost of a clustered solution. So they went down the following route.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Basic System&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;2x Indexers with Splunk frontends&lt;BR /&gt;
3x Universal Forwarders&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Data from Forwarders&lt;/STRONG&gt;&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;One set of polling logs goes to Indexer-1&lt;/LI&gt;
&lt;LI&gt;A second set of logs goes to Indexer-2 (same data sent to Indexer-1 but less frequent polling)&lt;/LI&gt;
&lt;LI&gt;And the Unix TA logs go to both indexers&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;It was envisioned that if Indexer-1 dies Indexer-2 will still be chugging along with a similar data set that is polled less frequently.&lt;/P&gt;

&lt;P&gt;This all currently works perfectly.&lt;/P&gt;

&lt;P&gt;However if you take one of the indexers offline the universal forwarders queues fill up as they cannot send data to the offline indexer. The whole indexer grinds to a halt and no new data is sent to the indexer that is still online.&lt;/P&gt;

&lt;P&gt;While I understand the system is protecting against data loss. The whole system grinding to a halt is actually much worse.&lt;/P&gt;

&lt;P&gt;I thought &lt;STRONG&gt;blockOnCloning&lt;/STRONG&gt; in outputs.conf might resolve this as the Unix TA logs are cloned but based on the default behaviour of this is not the issue causing the queue to fill up either.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;dropEventsOnQueueFull&lt;/STRONG&gt; does not appear behave how I would expect it to behave. Docuemntation seems to indicate it doesn't drop the queue contents it cannot deliver (due to indexer outage) it just keeps the queue full and drops any new data. So instead of getting rid of the data that is causing the blockage and continuing it just drops everything new??? Seems a bit backwards to me.&lt;/P&gt;

&lt;P&gt;Is there any way to resolve this?&lt;/P&gt;

&lt;P&gt;I dont care if data is lost for the offline indexer I just want my remaining online indexer to keep getting data.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2014 05:27:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-block-stops-all-indexing-completely/m-p/123209#M25452</guid>
      <dc:creator>phoenixdigital</dc:creator>
      <dc:date>2014-04-08T05:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Universal Forwarder block stops all indexing completely</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-block-stops-all-indexing-completely/m-p/123210#M25453</link>
      <description>&lt;P&gt;dropEventsOnQueueFull (in outputs.conf) seems to have resolved it even though the manual seems to indicate it does the exact opposite and drops NEW events.&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/admin/outputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/admin/outputsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;May I recommend to a Splunk staff member to reword the manual entry for this to be less amiguous.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;If set to a positive number, wait &lt;INTEGER&gt; seconds before throwing out all new events until the output queue has space.&lt;/INTEGER&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;change to&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;If set to a positive number, wait &lt;INTEGER&gt; seconds before throwing out all new events (already in the queue) until the output queue has space. New events arriving at the indexer will still be placed onto the queue.&lt;/INTEGER&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;The way it is currently worded seems to indicate that once the queue is full any new events arriving at the indexer will be dropped. It makes no mention of removing/dropping data from the queue itself.&lt;/P&gt;

&lt;P&gt;Is there a better solution here?&lt;/P&gt;

&lt;P&gt;I have also tried setting queues in inputs.conf which has no effect.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2014 00:36:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-block-stops-all-indexing-completely/m-p/123210#M25453</guid>
      <dc:creator>phoenixdigital</dc:creator>
      <dc:date>2014-04-09T00:36:10Z</dc:date>
    </item>
  </channel>
</rss>

