<?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: How to tell if Splunk universal forwarder performance is keeping up and sending all monitored data as expected? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-tell-if-Splunk-universal-forwarder-performance-is-keeping/m-p/204720#M40402</link>
    <description>&lt;P&gt;Hi @woodcock ,&lt;BR /&gt;
i got the same problem and solved it by set throughput maxKBps = unlimit in litmits.conf file.&lt;BR /&gt;
So Can you explain why the throughput make loss data?&lt;/P&gt;

&lt;P&gt;&lt;A href="https://imgur.com/a/BUmw9z2"&gt;https://imgur.com/a/BUmw9z2&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jan 2019 16:49:37 GMT</pubDate>
    <dc:creator>dailv1808</dc:creator>
    <dc:date>2019-01-22T16:49:37Z</dc:date>
    <item>
      <title>How to tell if Splunk universal forwarder performance is keeping up and sending all monitored data as expected?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-tell-if-Splunk-universal-forwarder-performance-is-keeping/m-p/204714#M40396</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I've been troubleshooting a problem where files are occasionally getting missed in Splunk.  The app creates a lot of files and a lot of data - they roll over at 50mb, about every 1-2 minutes.  Just today, I caught an "unable to open file" message, and when I went on the system, it wasn't there - probably because they have a cleanup job that moves files on a regular basis. The file in question is over an hour old, so I'm beginning to wonder if Splunk is having a hard time keeping up.  &lt;/P&gt;

&lt;P&gt;How can we easily validate the Splunk universal forwarder isn't falling behind?  This app has lots of server and lots of files, so running a btool after the fact isn't going to help me (nor will list monitors...).  Looking for ideas/thoughts...&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Update:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I have noticed that on certain systems, the same file keeps getting "removed from queue",  which doesn't make sense, as it's still active. (And the file is very busy).&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;04-16-2016 22:44:05.213 -0400 INFO  BatchReader - Removed from queue file='/gsysrtpp23/logs/ORS_RTP_Node2_PR/ORS_RTP_Node2_PR.20160416_223009_902.log'.
04-16-2016 22:44:06.202 -0400 INFO  BatchReader - Removed from queue file='/gsysrtpp23/logs/ORS_RTP_Node2_PR/ORS_RTP_Node2_PR.20160416_223009_902.log'.
04-16-2016 22:44:07.212 -0400 INFO  BatchReader - Removed from queue file='/gsysrtpp23/logs/ORS_RTP_Node2_PR/ORS_RTP_Node2_PR.20160416_223009_902.log'.
04-16-2016 22:44:08.221 -0400 INFO  BatchReader - Removed from queue file='/gsysrtpp23/logs/ORS_RTP_Node2_PR/ORS_RTP_Node2_PR.20160416_223009_902.log'.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks! &lt;/P&gt;</description>
      <pubDate>Sun, 17 Apr 2016 01:09:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-tell-if-Splunk-universal-forwarder-performance-is-keeping/m-p/204714#M40396</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2016-04-17T01:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to tell if Splunk universal forwarder performance is keeping up and sending all monitored data as expected?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-tell-if-Splunk-universal-forwarder-performance-is-keeping/m-p/204715#M40397</link>
      <description>&lt;P&gt;First of all, make sure the forwarder monitors rolled uncompressed files so it has a chance to work off a peak.&lt;BR /&gt;
Second, make sure there is enough headroom in the thruput limit in limits.conf for peak times. The default setting is way too low for 50MB/min.&lt;/P&gt;

&lt;P&gt;To view the current state of the tailing processor, check out &lt;A href="http://blogs.splunk.com/2011/01/02/did-i-miss-christmas-2/"&gt;http://blogs.splunk.com/2011/01/02/did-i-miss-christmas-2/&lt;/A&gt; - it'll tell you what files are monitored right now, how far into the file Splunk has read, and so on.&lt;BR /&gt;
To check if files were missed, check your indexed data for gaps. You should not see zeros in a search like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats count where index=foo sourcetype=bar source=/gsysrtpp23/logs* by _time span=30s host | timechart sum(count) as count by host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;A zero could mean "missing data from that host", or "host did not generate data in those 30 seconds". If you expect a file to be 1-2 minutes long and a file is missing, there should be at least one 30-second-bucket that's empty from that host.&lt;BR /&gt;
If your data (or file names) has incrementing values you could also search for gaps in those.&lt;/P&gt;

&lt;P&gt;To check indexing delay, run something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats max(_indextime) as maxindextime where index=foo sourcetype=bar source=/gsysrtpp23/logs* by _time span=1s host | eval delay = maxindextime-_time | timechart max(delay) by host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If that approaches minutes, you may be dropping behind significantly depending on how long rolled files remain on disk.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Apr 2016 11:59:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-tell-if-Splunk-universal-forwarder-performance-is-keeping/m-p/204715#M40397</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-04-17T11:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to tell if Splunk universal forwarder performance is keeping up and sending all monitored data as expected?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-tell-if-Splunk-universal-forwarder-performance-is-keeping/m-p/204716#M40398</link>
      <description>&lt;P&gt;Along with all of @martin_mueller's good points, consider using &lt;CODE&gt;sinkhole&lt;/CODE&gt; which does the housekeeping for you inside of Splunk:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.0/admin/Inputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.0/admin/Inputsconf&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[batch://&amp;lt;path&amp;gt;]
* One time, destructive input of files in &amp;lt;path&amp;gt;.
* For continuous, non-destructive inputs of files, use monitor instead.
# Additional attributes:
move_policy = sinkhole
* IMPORTANT: This attribute/value pair is required. You *must* include  "move_policy = sinkhole" when defining batch inputs.
* This loads the file destructively.
* Do not use the batch input type for files you do not want to consume destructively.
* As long as this is set, Splunk won't keep track of indexed files. Without the "move_policy = sinkhole" setting, it won't load the files destructively and will keep a track of them. 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Apr 2016 14:04:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-tell-if-Splunk-universal-forwarder-performance-is-keeping/m-p/204716#M40398</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-04-26T14:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to tell if Splunk universal forwarder performance is keeping up and sending all monitored data as expected?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-tell-if-Splunk-universal-forwarder-performance-is-keeping/m-p/204717#M40399</link>
      <description>&lt;P&gt;Using &lt;CODE&gt;sinkhole&lt;/CODE&gt; can be a terrible idea for files still written to by the application. Make sure you don't have Splunk trying to pull them out from under your app.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 19:54:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-tell-if-Splunk-universal-forwarder-performance-is-keeping/m-p/204717#M40399</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-04-26T19:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to tell if Splunk universal forwarder performance is keeping up and sending all monitored data as expected?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-tell-if-Splunk-universal-forwarder-performance-is-keeping/m-p/204718#M40400</link>
      <description>&lt;P&gt;True, this would only be an option if these files are appearing in their entirety and are not continuously written.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 21:09:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-tell-if-Splunk-universal-forwarder-performance-is-keeping/m-p/204718#M40400</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-04-26T21:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to tell if Splunk universal forwarder performance is keeping up and sending all monitored data as expected?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-tell-if-Splunk-universal-forwarder-performance-is-keeping/m-p/204719#M40401</link>
      <description>&lt;P&gt;The question indicates files are still actively written to after Splunk sees them for the first time.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 21:48:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-tell-if-Splunk-universal-forwarder-performance-is-keeping/m-p/204719#M40401</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-04-26T21:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to tell if Splunk universal forwarder performance is keeping up and sending all monitored data as expected?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-tell-if-Splunk-universal-forwarder-performance-is-keeping/m-p/204720#M40402</link>
      <description>&lt;P&gt;Hi @woodcock ,&lt;BR /&gt;
i got the same problem and solved it by set throughput maxKBps = unlimit in litmits.conf file.&lt;BR /&gt;
So Can you explain why the throughput make loss data?&lt;/P&gt;

&lt;P&gt;&lt;A href="https://imgur.com/a/BUmw9z2"&gt;https://imgur.com/a/BUmw9z2&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 16:49:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-tell-if-Splunk-universal-forwarder-performance-is-keeping/m-p/204720#M40402</guid>
      <dc:creator>dailv1808</dc:creator>
      <dc:date>2019-01-22T16:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to tell if Splunk universal forwarder performance is keeping up and sending all monitored data as expected?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-tell-if-Splunk-universal-forwarder-performance-is-keeping/m-p/204721#M40403</link>
      <description>&lt;P&gt;You'll lose data if you rotate the logs away from underneath the forwarder when it can't keep up.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 17:15:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-tell-if-Splunk-universal-forwarder-performance-is-keeping/m-p/204721#M40403</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2019-01-22T17:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to tell if Splunk universal forwarder performance is keeping up and sending all monitored data as expected?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-tell-if-Splunk-universal-forwarder-performance-is-keeping/m-p/204722#M40404</link>
      <description>&lt;P&gt;I always deploy &lt;CODE&gt;maxKBps = 0&lt;/CODE&gt; unless there is some reason not to.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 02:09:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-tell-if-Splunk-universal-forwarder-performance-is-keeping/m-p/204722#M40404</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-01-23T02:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to tell if Splunk universal forwarder performance is keeping up and sending all monitored data as expected?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-tell-if-Splunk-universal-forwarder-performance-is-keeping/m-p/204723#M40405</link>
      <description>&lt;P&gt;Increasing throughput should decrease data loss, not increase it.  What do you mean?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 02:12:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-tell-if-Splunk-universal-forwarder-performance-is-keeping/m-p/204723#M40405</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-01-23T02:12:39Z</dc:date>
    </item>
  </channel>
</rss>

