<?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 stop Splunk forwarder from re-indexing files when I edit them with vi? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-Splunk-forwarder-from-re-indexing-files-when-I-edit/m-p/460228#M79466</link>
    <description>&lt;P&gt;sounds reasonable. Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 20 May 2020 18:11:29 GMT</pubDate>
    <dc:creator>bhupalbobbadi</dc:creator>
    <dc:date>2020-05-20T18:11:29Z</dc:date>
    <item>
      <title>How to stop Splunk forwarder from re-indexing files when I edit them with vi?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-Splunk-forwarder-from-re-indexing-files-when-I-edit/m-p/460226#M79464</link>
      <description>&lt;P&gt;Splunk forwarder is re-indexing files when I edit them with vi.&lt;BR /&gt;
Has anybody seen this before?&lt;/P&gt;

&lt;P&gt;I have used the below configs, still it is re-indexing again and again.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;crcSalt =' &amp;lt;' SOURCE '&amp;gt;'
initCrcLength = 2560
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;TIA for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 18:29:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-Splunk-forwarder-from-re-indexing-files-when-I-edit/m-p/460226#M79464</guid>
      <dc:creator>bhupalbobbadi</dc:creator>
      <dc:date>2020-05-19T18:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop Splunk forwarder from re-indexing files when I edit them with vi?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-Splunk-forwarder-from-re-indexing-files-when-I-edit/m-p/460227#M79465</link>
      <description>&lt;P&gt;This is expected behavior. The hash value of your file changes if you modify it, even if the filename does not change.&lt;BR /&gt;
The short answer is, you should not manually modify files that are being monitored by a Splunk forwarder.&lt;/P&gt;

&lt;P&gt;If you do manually modify it (for whatever reason), change the file extension (add a timestamp, change .log to .log.bak, etc.) and blacklist that file extension.&lt;/P&gt;

&lt;P&gt;There are multiple solutions to this issue, but the easiest is to not manually modify the file. This is one case where Splunk is behaving 100% as expected.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 23:41:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-Splunk-forwarder-from-re-indexing-files-when-I-edit/m-p/460227#M79465</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2020-05-19T23:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop Splunk forwarder from re-indexing files when I edit them with vi?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-Splunk-forwarder-from-re-indexing-files-when-I-edit/m-p/460228#M79466</link>
      <description>&lt;P&gt;sounds reasonable. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 18:11:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-Splunk-forwarder-from-re-indexing-files-when-I-edit/m-p/460228#M79466</guid>
      <dc:creator>bhupalbobbadi</dc:creator>
      <dc:date>2020-05-20T18:11:29Z</dc:date>
    </item>
  </channel>
</rss>

