<?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 My forwarder's outgoing data rate is lagging. How to resolve this in order for the forwarder to send data continuously? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/My-forwarder-s-outgoing-data-rate-is-lagging-How-to-resolve-this/m-p/344148#M63310</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2596i219C8A9508B0E7E5/image-size/large?v=v2&amp;amp;px=999" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Forwarder is not sending the data at real-time, it is having some lag as mentioned in the screenshot. Can anyone help me in fixing it?&lt;BR /&gt;
At 1:10 AM, kbs was nearly 0 whereas the source has some data which is transferred later&lt;/P&gt;</description>
    <pubDate>Thu, 09 Mar 2017 17:17:14 GMT</pubDate>
    <dc:creator>chintan_shah</dc:creator>
    <dc:date>2017-03-09T17:17:14Z</dc:date>
    <item>
      <title>My forwarder's outgoing data rate is lagging. How to resolve this in order for the forwarder to send data continuously?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/My-forwarder-s-outgoing-data-rate-is-lagging-How-to-resolve-this/m-p/344148#M63310</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2596i219C8A9508B0E7E5/image-size/large?v=v2&amp;amp;px=999" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Forwarder is not sending the data at real-time, it is having some lag as mentioned in the screenshot. Can anyone help me in fixing it?&lt;BR /&gt;
At 1:10 AM, kbs was nearly 0 whereas the source has some data which is transferred later&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 17:17:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/My-forwarder-s-outgoing-data-rate-is-lagging-How-to-resolve-this/m-p/344148#M63310</guid>
      <dc:creator>chintan_shah</dc:creator>
      <dc:date>2017-03-09T17:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: My forwarder's outgoing data rate is lagging. How to resolve this in order for the forwarder to send data continuously?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/My-forwarder-s-outgoing-data-rate-is-lagging-How-to-resolve-this/m-p/344149#M63311</link>
      <description>&lt;P&gt;One thing I would suggest, if you are trying to ingest/forward a lot of data, is to configure the following in limits.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;## limits.conf ##

[thruput]
maxKBps = 0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Spec File:  &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Limitsconf#.5Bthruput.5D"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Limitsconf#.5Bthruput.5D&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;maxKBps = &amp;lt;integer&amp;gt;
* If specified and not zero, this limits the speed through the thruput processor 
  in the ingestion pipeline to the specified rate in kilobytes per second.
* To control the CPU load while indexing, use this to throttle the number of
  events this indexer processes to the rate (in KBps) you specify.
* Note that this limit will be applied per ingestion pipeline. For more information 
  about multiple ingestion pipelines see parallelIngestionPipelines in the
  server.conf.spec file.
* With N parallel ingestion pipelines the thruput limit across all of the ingestion 
  pipelines will be N * maxKBps.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;On a Forwarder, this is configured to the default of 256.  This change often elevates the problem you are reporting.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 20:35:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/My-forwarder-s-outgoing-data-rate-is-lagging-How-to-resolve-this/m-p/344149#M63311</guid>
      <dc:creator>jcrabb_splunk</dc:creator>
      <dc:date>2017-03-09T20:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: My forwarder's outgoing data rate is lagging. How to resolve this in order for the forwarder to send data continuously?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/My-forwarder-s-outgoing-data-rate-is-lagging-How-to-resolve-this/m-p/344150#M63312</link>
      <description>&lt;P&gt;So i have currently have 512 in maxKBps, so are you suggesting to keep it to 256 or 0? &lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 22:20:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/My-forwarder-s-outgoing-data-rate-is-lagging-How-to-resolve-this/m-p/344150#M63312</guid>
      <dc:creator>chintan_shah</dc:creator>
      <dc:date>2017-03-09T22:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: My forwarder's outgoing data rate is lagging. How to resolve this in order for the forwarder to send data continuously?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/My-forwarder-s-outgoing-data-rate-is-lagging-How-to-resolve-this/m-p/344151#M63313</link>
      <description>&lt;P&gt;I am recommending that it be set to 0:&lt;/P&gt;

&lt;P&gt;[thruput] &lt;BR /&gt;
maxKBps = 0&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 22:37:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/My-forwarder-s-outgoing-data-rate-is-lagging-How-to-resolve-this/m-p/344151#M63313</guid>
      <dc:creator>jcrabb_splunk</dc:creator>
      <dc:date>2017-03-09T22:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: My forwarder's outgoing data rate is lagging. How to resolve this in order for the forwarder to send data continuously?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/My-forwarder-s-outgoing-data-rate-is-lagging-How-to-resolve-this/m-p/344152#M63314</link>
      <description>&lt;P&gt;Hi jcrabb,&lt;/P&gt;

&lt;P&gt;I tried as mentioned by, to change the maxKBps to 0, but still i have faced the same issue.&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2595iDBC60DEAA3EF9EB0/image-size/large?v=v2&amp;amp;px=999" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 16:52:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/My-forwarder-s-outgoing-data-rate-is-lagging-How-to-resolve-this/m-p/344152#M63314</guid>
      <dc:creator>chintan_shah</dc:creator>
      <dc:date>2017-03-15T16:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: My forwarder's outgoing data rate is lagging. How to resolve this in order for the forwarder to send data continuously?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/My-forwarder-s-outgoing-data-rate-is-lagging-How-to-resolve-this/m-p/344153#M63315</link>
      <description>&lt;P&gt;Have you looked at the logs on the forwarder?  Do you see an issue that stands out?  Examples:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Problems connecting to Indexer&lt;/LI&gt;
&lt;LI&gt;Blocked queues (search metrics.log for "block")&lt;/LI&gt;
&lt;LI&gt;Errors like this:  INFO  TailReader - File descriptor cache is full (100), trimming...&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;How big is the log you are trying to ingest, does it get quite large over a certain time span?  Is the event time and index time showing latency?  If you run a search like this, what is the latency like?&lt;/P&gt;

&lt;P&gt;index=index_of_relevant_forwarder_data | eval time=_time | eval itime=_indextime | eval latency=(itime  - time) | stats count, avg(latency), min(latency), max(latency) by source&lt;/P&gt;

&lt;P&gt;There are just quite a number of variables here.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:15:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/My-forwarder-s-outgoing-data-rate-is-lagging-How-to-resolve-this/m-p/344153#M63315</guid>
      <dc:creator>jcrabb_splunk</dc:creator>
      <dc:date>2020-09-29T13:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: My forwarder's outgoing data rate is lagging. How to resolve this in order for the forwarder to send data continuously?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/My-forwarder-s-outgoing-data-rate-is-lagging-How-to-resolve-this/m-p/344154#M63316</link>
      <description>&lt;P&gt;Hi @Anonymous:&lt;/P&gt;

&lt;P&gt;Have you looked at the logs on the forwarder? Do you see an issue that stands out? Examples:&lt;/P&gt;

&lt;P&gt;Problems connecting to Indexer &lt;BR /&gt;
-&amp;gt; I got multiple time out i.e. &lt;BR /&gt;
03-15-2017 03:54:51.117 -0400 INFO  TcpOutputProc - Ping connection to idx=destinationip:port timed out. continuing connections&lt;BR /&gt;
Do you know how can i resolve this?&lt;/P&gt;

&lt;P&gt;Blocked queues (search metrics.log for "block")&lt;BR /&gt;
-&amp;gt; I didnt receive any events with block in metrics.&lt;/P&gt;

&lt;P&gt;Errors like this: INFO TailReader - File descriptor cache is full (100), trimming...&lt;BR /&gt;
-&amp;gt; i didnt receive any events with the above field.&lt;/P&gt;

&lt;P&gt;How big is the log you are trying to ingest, does it get quite large over a certain time span? Is the event time and index time showing latency? If you run a search like this, what is the latency like?&lt;/P&gt;

&lt;P&gt;index=index_of_relevant_forwarder_data | eval time=_time | eval itime=_indextime | eval latency=(itime - time) | stats count, avg(latency), min(latency), max(latency) by source&lt;BR /&gt;
-&amp;gt; I am continuously monitoring the log files which are roll over every day and the logs are really huge.&lt;BR /&gt;
i used the above query which was really helpful and for a particular source the Max Latency was 9814 which is 2 hours and 43 minute delay.&lt;BR /&gt;
Can we reduce this latency?&lt;/P&gt;

&lt;P&gt;There are just quite a number of variables here.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:17:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/My-forwarder-s-outgoing-data-rate-is-lagging-How-to-resolve-this/m-p/344154#M63316</guid>
      <dc:creator>chintan_shah</dc:creator>
      <dc:date>2020-09-29T13:17:44Z</dc:date>
    </item>
  </channel>
</rss>

