<?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 How to index file with same name and similar content? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-index-file-with-same-name-and-similar-content/m-p/522566#M88257</link>
    <description>&lt;P&gt;I am trying to read a file that gets replaced once in every 24 hours and has the same exact name and has almost similar data.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File name is like :&amp;nbsp;&lt;/P&gt;&lt;P&gt;e:\abcd-app-files\data-translation.txt&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Since the data in the file is almost similar everyday, I want to use crcSalt, but crcSalt=&amp;lt;SOURCE&amp;gt; will not work, since my file has the same name every day.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there a way to add a dynamic string (maybe a timestamp) to the crcSalt ? so that splunk willread the file everytime even with similar data and same name.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE : I can't change the name of the file to have a timestamp in it. Also, the file content doesn't consist a timestamp inside the data.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Oct 2020 18:27:42 GMT</pubDate>
    <dc:creator>goonie</dc:creator>
    <dc:date>2020-10-01T18:27:42Z</dc:date>
    <item>
      <title>How to index file with same name and similar content?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-index-file-with-same-name-and-similar-content/m-p/522566#M88257</link>
      <description>&lt;P&gt;I am trying to read a file that gets replaced once in every 24 hours and has the same exact name and has almost similar data.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File name is like :&amp;nbsp;&lt;/P&gt;&lt;P&gt;e:\abcd-app-files\data-translation.txt&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Since the data in the file is almost similar everyday, I want to use crcSalt, but crcSalt=&amp;lt;SOURCE&amp;gt; will not work, since my file has the same name every day.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there a way to add a dynamic string (maybe a timestamp) to the crcSalt ? so that splunk willread the file everytime even with similar data and same name.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE : I can't change the name of the file to have a timestamp in it. Also, the file content doesn't consist a timestamp inside the data.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 18:27:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-index-file-with-same-name-and-similar-content/m-p/522566#M88257</guid>
      <dc:creator>goonie</dc:creator>
      <dc:date>2020-10-01T18:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to index file with same name and similar content?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-index-file-with-same-name-and-similar-content/m-p/522573#M88260</link>
      <description>&lt;P&gt;Try below in props.conf on the server (this will work even in uf)&lt;/P&gt;&lt;P&gt;&amp;nbsp;CHECK_METHOD = modtime&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 18:55:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-index-file-with-same-name-and-similar-content/m-p/522573#M88260</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-10-01T18:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to index file with same name and similar content?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-index-file-with-same-name-and-similar-content/m-p/522576#M88262</link>
      <description>Try to increase initCrcLength to cover enough long part of content to found differences from file.&lt;BR /&gt;If nothing else didn’t help you could use scripted input.&lt;BR /&gt;r. Ismo</description>
      <pubDate>Thu, 01 Oct 2020 19:09:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-index-file-with-same-name-and-similar-content/m-p/522576#M88262</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-10-01T19:09:06Z</dc:date>
    </item>
  </channel>
</rss>

