<?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: Duplicating events on .txt log file in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Duplicating-events-on-txt-log-file/m-p/164355#M33296</link>
    <description>&lt;P&gt;How large are these files, and there any changes other than at the end of the file?&lt;/P&gt;</description>
    <pubDate>Wed, 04 Dec 2013 17:28:06 GMT</pubDate>
    <dc:creator>lukejadamec</dc:creator>
    <dc:date>2013-12-04T17:28:06Z</dc:date>
    <item>
      <title>Duplicating events on .txt log file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Duplicating-events-on-txt-log-file/m-p/164350#M33291</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;We have a Windows machine that writes events on a log with the .txt extension, monitored by the Splunk Universal Forwarder (monitor stanza). Every time the file changes, Splunk re-read it all and writes this to the splunkd.log:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;12-03-2013 15:12:33.432 -0200 INFO  WatchedFile - File too small to check seekcrc, probably truncated.  Will re-read entire file='D:\path\to\file\file.txt'.
12-03-2013 15:12:33.432 -0200 INFO  WatchedFile - Will begin reading at offset=0 for file='D:\path\to\file\file.txt'.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;We've noticed that this happens to all .txt files that we try to monitor with Splunk. It's like Splunk have a config to deal with .txt files on a different way.&lt;/P&gt;

&lt;P&gt;We've tried to setup an props.conf with:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::D:\\path\\to\\file\\file.txt]
CHECK_METHOD = endpoint_md5
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But Splunk still duplicates the events.&lt;/P&gt;

&lt;P&gt;Have anyone seen something like? There is a way to config Splunk to not re-read .txt files on each update?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;BR /&gt;
Julio&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2013 17:29:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Duplicating-events-on-txt-log-file/m-p/164350#M33291</guid>
      <dc:creator>julima</dc:creator>
      <dc:date>2013-12-03T17:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicating events on .txt log file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Duplicating-events-on-txt-log-file/m-p/164351#M33292</link>
      <description>&lt;P&gt;Try adding a CRC Salt, see this post:&lt;BR /&gt;&lt;BR /&gt;
&lt;A href="http://answers.splunk.com/answers/1568/windows-dhcp-log-files-too-small-to-match-seekptr-checksum"&gt;http://answers.splunk.com/answers/1568/windows-dhcp-log-files-too-small-to-match-seekptr-checksum&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2013 17:41:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Duplicating-events-on-txt-log-file/m-p/164351#M33292</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-12-03T17:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicating events on .txt log file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Duplicating-events-on-txt-log-file/m-p/164352#M33293</link>
      <description>&lt;P&gt;Hi, lukejadamec.&lt;/P&gt;

&lt;P&gt;We've already tried "crcSalt = &lt;SOURCE&gt;" to the monitor stanza, but it didn't work =[&lt;/SOURCE&gt;&lt;/P&gt;

&lt;P&gt;Now, our stanza uses only index and sourcetype attributes.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2013 18:13:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Duplicating-events-on-txt-log-file/m-p/164352#M33293</guid>
      <dc:creator>julima</dc:creator>
      <dc:date>2013-12-03T18:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicating events on .txt log file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Duplicating-events-on-txt-log-file/m-p/164353#M33294</link>
      <description>&lt;P&gt;just to be sure you added "crcSalt = &lt;SOURCE&gt;" (sometime case makes difference) and restarted splunk instance?&lt;/SOURCE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2013 19:52:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Duplicating-events-on-txt-log-file/m-p/164353#M33294</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2013-12-03T19:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicating events on .txt log file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Duplicating-events-on-txt-log-file/m-p/164354#M33295</link>
      <description>&lt;P&gt;Actually we added "crcSalt = &lt;SOURCE&gt;" (UPPERCASE). And yes, we restarted the Splunk instance.&lt;/SOURCE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2013 14:54:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Duplicating-events-on-txt-log-file/m-p/164354#M33295</guid>
      <dc:creator>julima</dc:creator>
      <dc:date>2013-12-04T14:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicating events on .txt log file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Duplicating-events-on-txt-log-file/m-p/164355#M33296</link>
      <description>&lt;P&gt;How large are these files, and there any changes other than at the end of the file?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2013 17:28:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Duplicating-events-on-txt-log-file/m-p/164355#M33296</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-12-04T17:28:06Z</dc:date>
    </item>
  </channel>
</rss>

