<?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 Index a file according to the modify time only in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Index-a-file-according-to-the-modify-time-only/m-p/473525#M81337</link>
    <description>&lt;P&gt;I have files uploaded to the  NT share &lt;BR /&gt;
The file is indexed and will be updated daily by QC system &lt;BR /&gt;
Most of the time the file will stay the same &lt;BR /&gt;
the retention time for the index is defined as 7 days &lt;BR /&gt;
How I can index the file once a day after it's uploaded to the share event the data in the file is not changed ?&lt;/P&gt;

&lt;P&gt;I tried the below in inputs.conf&lt;/P&gt;

&lt;P&gt;[monitor://\raanana\Tabi4Splunk\QC_integration_csv\Splunk-ABP_DEV.csv]&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
index = penetrationtest_pbg&lt;BR /&gt;
sourcetype = csv_current_time&lt;BR /&gt;
ignoreolderthan=1d&lt;BR /&gt;
crcSalt = &lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 04:14:13 GMT</pubDate>
    <dc:creator>rayar</dc:creator>
    <dc:date>2020-09-30T04:14:13Z</dc:date>
    <item>
      <title>Index a file according to the modify time only</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-a-file-according-to-the-modify-time-only/m-p/473525#M81337</link>
      <description>&lt;P&gt;I have files uploaded to the  NT share &lt;BR /&gt;
The file is indexed and will be updated daily by QC system &lt;BR /&gt;
Most of the time the file will stay the same &lt;BR /&gt;
the retention time for the index is defined as 7 days &lt;BR /&gt;
How I can index the file once a day after it's uploaded to the share event the data in the file is not changed ?&lt;/P&gt;

&lt;P&gt;I tried the below in inputs.conf&lt;/P&gt;

&lt;P&gt;[monitor://\raanana\Tabi4Splunk\QC_integration_csv\Splunk-ABP_DEV.csv]&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
index = penetrationtest_pbg&lt;BR /&gt;
sourcetype = csv_current_time&lt;BR /&gt;
ignoreolderthan=1d&lt;BR /&gt;
crcSalt = &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:14:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-a-file-according-to-the-modify-time-only/m-p/473525#M81337</guid>
      <dc:creator>rayar</dc:creator>
      <dc:date>2020-09-30T04:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Index a file according to the modify time only</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-a-file-according-to-the-modify-time-only/m-p/473526#M81338</link>
      <description>&lt;P&gt;In props.conf set CHECK_METHOD = modtime for the source to check only the modification time of the file.&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::\raanana\Tabi4Splunk\QC_integration_csv\Splunk-ABP_DEV.csv]
CHECK_METHOD = modtime
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Feb 2020 13:52:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-a-file-according-to-the-modify-time-only/m-p/473526#M81338</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2020-02-19T13:52:56Z</dc:date>
    </item>
  </channel>
</rss>

