<?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 What happens if I restart the universal forwarder while it is processing a file? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/What-happens-if-I-restart-the-universal-forwarder-while-it-is/m-p/242557#M47021</link>
    <description>&lt;P&gt;Here's my setup: 1 search head, 4 indexers, 1 universal forwarder&lt;/P&gt;

&lt;P&gt;The UF is trying to index a large file (2G), I'm seeing the "Current data throughput (256kb/s) has reached maxKBps.  AS a result data forwarding may be throttled."&lt;/P&gt;

&lt;P&gt;If I increase the maxKBps in limits.conf, and restart the UF, will I lose the data that was waiting to be forwarded?  Will the Splunk UF pick up in the same spot of the file to keep trying?&lt;/P&gt;

&lt;P&gt;My inputs.conf is&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[batch:///opt2/ingest/json-data]
    index=foo
    sourcetype=json-foo
    move_policy=sinkhole
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and my outputs.conf is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup=primary_indexers
useACK=true

[tcpout:primary_indexers]
autoLBFrequency=30
server=server1:9997,server2:9997,server3:9997,server4:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;(I actually have the server ips in the server list above).&lt;/P&gt;</description>
    <pubDate>Tue, 10 May 2016 23:38:55 GMT</pubDate>
    <dc:creator>lyndac</dc:creator>
    <dc:date>2016-05-10T23:38:55Z</dc:date>
    <item>
      <title>What happens if I restart the universal forwarder while it is processing a file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-happens-if-I-restart-the-universal-forwarder-while-it-is/m-p/242557#M47021</link>
      <description>&lt;P&gt;Here's my setup: 1 search head, 4 indexers, 1 universal forwarder&lt;/P&gt;

&lt;P&gt;The UF is trying to index a large file (2G), I'm seeing the "Current data throughput (256kb/s) has reached maxKBps.  AS a result data forwarding may be throttled."&lt;/P&gt;

&lt;P&gt;If I increase the maxKBps in limits.conf, and restart the UF, will I lose the data that was waiting to be forwarded?  Will the Splunk UF pick up in the same spot of the file to keep trying?&lt;/P&gt;

&lt;P&gt;My inputs.conf is&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[batch:///opt2/ingest/json-data]
    index=foo
    sourcetype=json-foo
    move_policy=sinkhole
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and my outputs.conf is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup=primary_indexers
useACK=true

[tcpout:primary_indexers]
autoLBFrequency=30
server=server1:9997,server2:9997,server3:9997,server4:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;(I actually have the server ips in the server list above).&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 23:38:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-happens-if-I-restart-the-universal-forwarder-while-it-is/m-p/242557#M47021</guid>
      <dc:creator>lyndac</dc:creator>
      <dc:date>2016-05-10T23:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: What happens if I restart the universal forwarder while it is processing a file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-happens-if-I-restart-the-universal-forwarder-while-it-is/m-p/242558#M47022</link>
      <description>&lt;P&gt;Splunk can resume from the position it was on the monitored file.&lt;BR /&gt;
however with the sinkhole, it should delete the file once compelted.&lt;/P&gt;

&lt;P&gt;Do you see the file deleted yet ?&lt;BR /&gt;
to be safe, I would recommend to make a copy of the file&lt;BR /&gt;
When you stop splunk, do not kill the process let it empty it's output queue to ensure that no events are missed.&lt;BR /&gt;
Then if needed, reindex the file later.&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 00:06:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-happens-if-I-restart-the-universal-forwarder-while-it-is/m-p/242558#M47022</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2016-05-11T00:06:53Z</dc:date>
    </item>
  </channel>
</rss>

