<?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: Tcp output pipeline blocked. Attempt '300' to insert data failed. (Heavy forwarder ---&amp;gt; Indexer) in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Tcp-output-pipeline-blocked-Attempt-300-to-insert-data-failed/m-p/164459#M33350</link>
    <description>&lt;P&gt;Are u sure the indexer is the problem? you should also see "blocked" messages an the indexer side.&lt;/P&gt;

&lt;P&gt;We have had such behaviour of the Heavy Fowarders, but in our case "the network" was the problem. It was was FULL, so the heavy couldn't get the data on the network during the peak hours.&lt;/P&gt;

&lt;P&gt;If you 100% sure the indexer is the problem (can't handle the amount of data), add an othe indexer next to it. (getting more IOPS, is probably harder)&lt;/P&gt;

&lt;P&gt;For the  forwarder : If the data volume is 24/7 the same, you can't do anything.  otherwise you can put a lower number for "maxKBps" (so you don't get the error), but you're data will arrive later (at night when there isn't much data generated)  in the system.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Mar 2015 10:04:43 GMT</pubDate>
    <dc:creator>teunlaan</dc:creator>
    <dc:date>2015-03-11T10:04:43Z</dc:date>
    <item>
      <title>Tcp output pipeline blocked. Attempt '300' to insert data failed. (Heavy forwarder ---&gt; Indexer)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Tcp-output-pipeline-blocked-Attempt-300-to-insert-data-failed/m-p/164452#M33343</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Case:&lt;/STRONG&gt;&lt;BR /&gt;
I am gathering logs from a cisco-asa and writing them to a log file . and using monitor stanza i'm monitoring the log file and forwarding the logs to my indexer server via splunktcp://9997&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt;&lt;BR /&gt;
but, though data is not visible in splunk search&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Findings:&lt;/STRONG&gt;&lt;BR /&gt;
/opt/splunk/bin/splunk list monitor -- showing the monitoring file name&lt;BR /&gt;
/opt/splunk/bin/splunk list forward-server -- showing the indexer name (Active forwards)&lt;/P&gt;

&lt;P&gt;In Heavy forwarder , Im seeing a message "&lt;STRONG&gt;Tcp output pipeline blocked. Attempt '300' to insert data failed.&lt;/STRONG&gt;"&lt;/P&gt;

&lt;P&gt;Though I set my server.conf to:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[queue=parsingQueue]
maxSize = 10MB
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;still no luck.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Splunk version :&lt;/STRONG&gt;&lt;BR /&gt;
Heavy forwarder : Splunk 6.0.4 (build 207768)&lt;BR /&gt;
Indexer/search head :Splunk 6.1.1 (build 207789)&lt;/P&gt;

&lt;P&gt;No any notable logs in splunkd.log, just found the below in my metrics log: &lt;BR /&gt;
Metrics Logs:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[root@splunkserver local]# tail -f /opt/splunk/var/log/splunk/metrics.log|grep blocked
03-05-2015 07:15:16.869 +0000 INFO  Metrics - group=queue, name=aggqueue, blocked=true, max_size_kb=1024, current_size_kb=1023, current_size=2728, largest_size=2763, smallest_size=0
03-05-2015 07:15:16.869 +0000 INFO  Metrics - group=queue, name=indexqueue, blocked=true, max_size_kb=500, current_size_kb=499, current_size=1330, largest_size=1330, smallest_size=0
03-05-2015 07:15:16.869 +0000 INFO  Metrics - group=queue, name=typingqueue, blocked=true, max_size_kb=500, current_size_kb=499, current_size=1353, largest_size=1353, smallest_size=0
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Mar 2015 07:28:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Tcp-output-pipeline-blocked-Attempt-300-to-insert-data-failed/m-p/164452#M33343</guid>
      <dc:creator>splunker12er</dc:creator>
      <dc:date>2015-03-05T07:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Tcp output pipeline blocked. Attempt '300' to insert data failed. (Heavy forwarder ---&gt; Indexer)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Tcp-output-pipeline-blocked-Attempt-300-to-insert-data-failed/m-p/164453#M33344</link>
      <description>&lt;P&gt;As per your logs it's showing that your index queue and queues are full. For this many reasons&lt;BR /&gt;
1.) Forwarder is sendind quite high amount of logs.&lt;BR /&gt;
2.) Indexer is not able to write   data in proper speed.I/O problem.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2015 08:03:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Tcp-output-pipeline-blocked-Attempt-300-to-insert-data-failed/m-p/164453#M33344</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2015-03-05T08:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Tcp output pipeline blocked. Attempt '300' to insert data failed. (Heavy forwarder ---&gt; Indexer)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Tcp-output-pipeline-blocked-Attempt-300-to-insert-data-failed/m-p/164454#M33345</link>
      <description>&lt;P&gt;I am monitoring some 10 logs files (all the files are continuously open for writing cisco-asa logs)&lt;/P&gt;

&lt;P&gt;out of 10 , only 3 files i can able to search in Search head - &lt;/P&gt;

&lt;P&gt;I see in heavy forwarder -splunkweb , the below Warning :&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Tcp output pipeline blocked. Attempt '300' to insert data failed&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Is this due to huge volume of dat being monitored and splunk is unable to forward the logs to indexer for indexing  ???&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2015 02:46:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Tcp-output-pipeline-blocked-Attempt-300-to-insert-data-failed/m-p/164454#M33345</guid>
      <dc:creator>splunker12er</dc:creator>
      <dc:date>2015-03-06T02:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Tcp output pipeline blocked. Attempt '300' to insert data failed. (Heavy forwarder ---&gt; Indexer)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Tcp-output-pipeline-blocked-Attempt-300-to-insert-data-failed/m-p/164455#M33346</link>
      <description>&lt;P&gt;Can you please let me know, have you configured limits.conf on Heavy Forwarder ? If yes, what you have configured for "maxKBps" ?&lt;/P&gt;

&lt;P&gt;As per your splunkserver logs, I can see that splunk instance is not able to write data into disk at proper speed, due to following reason.&lt;BR /&gt;
1.) Forwarder is sending hugh volume of logs. So indexqueue and other queues are full.&lt;BR /&gt;
2.) Indexer is not able to write data into disk with proper speed. I/O problem(Low IOPS due to Slow disk(Low rpm/disk)).&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2015 13:01:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Tcp-output-pipeline-blocked-Attempt-300-to-insert-data-failed/m-p/164455#M33346</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2015-03-06T13:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Tcp output pipeline blocked. Attempt '300' to insert data failed. (Heavy forwarder ---&gt; Indexer)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Tcp-output-pipeline-blocked-Attempt-300-to-insert-data-failed/m-p/164456#M33347</link>
      <description>&lt;P&gt;yes, same issue .&lt;/P&gt;

&lt;P&gt;Cause 1:&lt;BR /&gt;
I found from metrics.log and found index queues status is blocked. Forwarder is sending too much of data (suggest a best practice to overcome this..)&lt;/P&gt;

&lt;P&gt;Cause 2:&lt;BR /&gt;
Adding more CPU core would resolve this ?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 04:18:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Tcp-output-pipeline-blocked-Attempt-300-to-insert-data-failed/m-p/164456#M33347</guid>
      <dc:creator>splunker12er</dc:creator>
      <dc:date>2015-03-11T04:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Tcp output pipeline blocked. Attempt '300' to insert data failed. (Heavy forwarder ---&gt; Indexer)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Tcp-output-pipeline-blocked-Attempt-300-to-insert-data-failed/m-p/164457#M33348</link>
      <description>&lt;P&gt;Increase IOPs on the indexer or scale out horizontally (ie add another indexer).&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 04:23:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Tcp-output-pipeline-blocked-Attempt-300-to-insert-data-failed/m-p/164457#M33348</guid>
      <dc:creator>skawasaki_splun</dc:creator>
      <dc:date>2015-03-11T04:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Tcp output pipeline blocked. Attempt '300' to insert data failed. (Heavy forwarder ---&gt; Indexer)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Tcp-output-pipeline-blocked-Attempt-300-to-insert-data-failed/m-p/164458#M33349</link>
      <description>&lt;P&gt;Thanks,. Any advise on the forwarder settings ?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 05:31:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Tcp-output-pipeline-blocked-Attempt-300-to-insert-data-failed/m-p/164458#M33349</guid>
      <dc:creator>splunker12er</dc:creator>
      <dc:date>2015-03-11T05:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Tcp output pipeline blocked. Attempt '300' to insert data failed. (Heavy forwarder ---&gt; Indexer)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Tcp-output-pipeline-blocked-Attempt-300-to-insert-data-failed/m-p/164459#M33350</link>
      <description>&lt;P&gt;Are u sure the indexer is the problem? you should also see "blocked" messages an the indexer side.&lt;/P&gt;

&lt;P&gt;We have had such behaviour of the Heavy Fowarders, but in our case "the network" was the problem. It was was FULL, so the heavy couldn't get the data on the network during the peak hours.&lt;/P&gt;

&lt;P&gt;If you 100% sure the indexer is the problem (can't handle the amount of data), add an othe indexer next to it. (getting more IOPS, is probably harder)&lt;/P&gt;

&lt;P&gt;For the  forwarder : If the data volume is 24/7 the same, you can't do anything.  otherwise you can put a lower number for "maxKBps" (so you don't get the error), but you're data will arrive later (at night when there isn't much data generated)  in the system.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 10:04:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Tcp-output-pipeline-blocked-Attempt-300-to-insert-data-failed/m-p/164459#M33350</guid>
      <dc:creator>teunlaan</dc:creator>
      <dc:date>2015-03-11T10:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Tcp output pipeline blocked. Attempt '300' to insert data failed. (Heavy forwarder ---&gt; Indexer)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Tcp-output-pipeline-blocked-Attempt-300-to-insert-data-failed/m-p/164460#M33351</link>
      <description>&lt;P&gt;Yes, teunlaan is correct. Add new Indexer for extra logging and you can set maxKBps as well on forwarder, but it will delay your logs.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 11:03:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Tcp-output-pipeline-blocked-Attempt-300-to-insert-data-failed/m-p/164460#M33351</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2015-03-11T11:03:37Z</dc:date>
    </item>
  </channel>
</rss>

