<?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 Programmatically determine data processed by splunk forwarder file reader in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Programmatically-determine-data-processed-by-splunk-forwarder/m-p/82185#M16986</link>
    <description>&lt;P&gt;How can we programmatically determine which lines of a log file have been successfully processed by a splunk forwarder log reader? With this information, we will be able to rollover and cleanup files quickly and know there is no data loss. &lt;/P&gt;</description>
    <pubDate>Fri, 22 Jun 2012 18:15:09 GMT</pubDate>
    <dc:creator>onelog2012</dc:creator>
    <dc:date>2012-06-22T18:15:09Z</dc:date>
    <item>
      <title>Programmatically determine data processed by splunk forwarder file reader</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Programmatically-determine-data-processed-by-splunk-forwarder/m-p/82185#M16986</link>
      <description>&lt;P&gt;How can we programmatically determine which lines of a log file have been successfully processed by a splunk forwarder log reader? With this information, we will be able to rollover and cleanup files quickly and know there is no data loss. &lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2012 18:15:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Programmatically-determine-data-processed-by-splunk-forwarder/m-p/82185#M16986</guid>
      <dc:creator>onelog2012</dc:creator>
      <dc:date>2012-06-22T18:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically determine data processed by splunk forwarder file reader</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Programmatically-determine-data-processed-by-splunk-forwarder/m-p/82186#M16987</link>
      <description>&lt;P&gt;This should be of great interest to you: &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;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2012 19:23:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Programmatically-determine-data-processed-by-splunk-forwarder/m-p/82186#M16987</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-06-22T19:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically determine data processed by splunk forwarder file reader</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Programmatically-determine-data-processed-by-splunk-forwarder/m-p/82187#M16988</link>
      <description>&lt;P&gt;Ayn has a good point but you might also want to consider using indexer acknowledgement in combination with batch processing of the input files. With indexer acknowledgement, the indexer sends an acknowledgement when a piece of data has been written to disk in an index. Until then the forwarder keeps it in its output queue, and will resend it until it gets an acknowledgement. Pretty much like TCP network communications.&lt;/P&gt;

&lt;P&gt;Batch reading of files (as opposed to monitoring) is a destructive method where a file is deleted after it has been processed (i.e. indexed).&lt;/P&gt;

&lt;P&gt;More information on this can be found here:&lt;/P&gt;

&lt;P&gt;Indexer Acknowledgement&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Deploy/Protectagainstlossofin-flightdata"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Deploy/Protectagainstlossofin-flightdata&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Batch reading&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Data/Editinputs.conf"&gt;http://docs.splunk.com/Documentation/Splunk/4.3.2/Data/Editinputs.conf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;Kristian&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jun 2012 18:56:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Programmatically-determine-data-processed-by-splunk-forwarder/m-p/82187#M16988</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-06-24T18:56:17Z</dc:date>
    </item>
  </channel>
</rss>

