<?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: Send data from file even if there is no change in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Send-data-from-file-even-if-there-is-no-change/m-p/477984#M86866</link>
    <description>&lt;P&gt;Hi, these are the conf files &lt;BR /&gt;
Inputs.conf is: &lt;BR /&gt;
[monitor://D:\splunk\abc.csv]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
index = main&lt;BR /&gt;
sourcetype = abccsv&lt;/P&gt;

&lt;P&gt;Props.conf:&lt;BR /&gt;
[labccsv]&lt;BR /&gt;
BREAK_ONLY_BEFORE = \d\d?:\d\d:\d\d&lt;BR /&gt;
DATETIME_CONFIG = &lt;BR /&gt;
LINE_BREAKER = ([\r\n]+)&lt;BR /&gt;
NO_BINARY_CHECK = true&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
category = Application&lt;BR /&gt;
description = Output produced by any Java 2 Enterprise Edition (J2EE) application server using log4j&lt;BR /&gt;
disabled = false&lt;BR /&gt;
maxDist = 75&lt;BR /&gt;
pulldown_type = true&lt;BR /&gt;
CHECK_METHOD = modtime&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 04:19:44 GMT</pubDate>
    <dc:creator>shreyasathavale</dc:creator>
    <dc:date>2020-09-30T04:19:44Z</dc:date>
    <item>
      <title>Send data from file even if there is no change</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Send-data-from-file-even-if-there-is-no-change/m-p/477980#M86862</link>
      <description>&lt;P&gt;I have a file in a directory, whose timestamp is changed everyday using "touch" command. The contents might change after 3 months but not daily.&lt;BR /&gt;
I need to monitor this file in splunk and read the contents even if they are same.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 09:09:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Send-data-from-file-even-if-there-is-no-change/m-p/477980#M86862</guid>
      <dc:creator>shreyasathavale</dc:creator>
      <dc:date>2020-02-24T09:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Send data from file even if there is no change</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Send-data-from-file-even-if-there-is-no-change/m-p/477981#M86863</link>
      <description>&lt;P&gt;In props.conf set CHECK_METHOD = modtime for the source to check the modification time of the file.&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [source::&amp;lt;file_path&amp;gt;]
 CHECK_METHOD = modtime
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 24 Feb 2020 11:22:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Send-data-from-file-even-if-there-is-no-change/m-p/477981#M86863</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2020-02-24T11:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Send data from file even if there is no change</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Send-data-from-file-even-if-there-is-no-change/m-p/477982#M86864</link>
      <description>&lt;P&gt;I tried this but somehow it is not working&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 12:50:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Send-data-from-file-even-if-there-is-no-change/m-p/477982#M86864</guid>
      <dc:creator>shreyasathavale</dc:creator>
      <dc:date>2020-02-24T12:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Send data from file even if there is no change</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Send-data-from-file-even-if-there-is-no-change/m-p/477983#M86865</link>
      <description>&lt;P&gt;can you post inputs.conf and props.conf for this source?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 13:43:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Send-data-from-file-even-if-there-is-no-change/m-p/477983#M86865</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2020-02-24T13:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Send data from file even if there is no change</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Send-data-from-file-even-if-there-is-no-change/m-p/477984#M86866</link>
      <description>&lt;P&gt;Hi, these are the conf files &lt;BR /&gt;
Inputs.conf is: &lt;BR /&gt;
[monitor://D:\splunk\abc.csv]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
index = main&lt;BR /&gt;
sourcetype = abccsv&lt;/P&gt;

&lt;P&gt;Props.conf:&lt;BR /&gt;
[labccsv]&lt;BR /&gt;
BREAK_ONLY_BEFORE = \d\d?:\d\d:\d\d&lt;BR /&gt;
DATETIME_CONFIG = &lt;BR /&gt;
LINE_BREAKER = ([\r\n]+)&lt;BR /&gt;
NO_BINARY_CHECK = true&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
category = Application&lt;BR /&gt;
description = Output produced by any Java 2 Enterprise Edition (J2EE) application server using log4j&lt;BR /&gt;
disabled = false&lt;BR /&gt;
maxDist = 75&lt;BR /&gt;
pulldown_type = true&lt;BR /&gt;
CHECK_METHOD = modtime&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:19:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Send-data-from-file-even-if-there-is-no-change/m-p/477984#M86866</guid>
      <dc:creator>shreyasathavale</dc:creator>
      <dc:date>2020-09-30T04:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Send data from file even if there is no change</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Send-data-from-file-even-if-there-is-no-change/m-p/477985#M86867</link>
      <description>&lt;P&gt;CHECK_METHOD = modtime must be set for [source:] stanza only not sourcetype.&lt;/P&gt;

&lt;P&gt;Add this to props.conf.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::D:\splunk\abc.csv]
CHECK_METHOD = modtime
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 24 Feb 2020 13:56:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Send-data-from-file-even-if-there-is-no-change/m-p/477985#M86867</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2020-02-24T13:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Send data from file even if there is no change</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Send-data-from-file-even-if-there-is-no-change/m-p/477986#M86868</link>
      <description>&lt;P&gt;That did the trick !!! Thanks!!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 14:53:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Send-data-from-file-even-if-there-is-no-change/m-p/477986#M86868</guid>
      <dc:creator>shreyasathavale</dc:creator>
      <dc:date>2020-02-24T14:53:08Z</dc:date>
    </item>
  </channel>
</rss>

