<?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: DATETIME_CONFIG = NONE doesn't work in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/DATETIME-CONFIG-NONE-doesn-t-work/m-p/188663#M98494</link>
    <description>&lt;P&gt;I am sure the props.conf file is placed in the correct location. cause other changes I made to props.conf are picked up by splunk, only this DATATIME_CONFIG = NONE not work.&lt;/P&gt;</description>
    <pubDate>Fri, 14 Mar 2014 17:18:18 GMT</pubDate>
    <dc:creator>hongduan</dc:creator>
    <dc:date>2014-03-14T17:18:18Z</dc:date>
    <item>
      <title>DATETIME_CONFIG = NONE doesn't work</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DATETIME-CONFIG-NONE-doesn-t-work/m-p/188661#M98492</link>
      <description>&lt;P&gt;I have this stanza in my props.conf&lt;BR /&gt;
[test_test]&lt;BR /&gt;
TZ = US/Eastern&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
MAX_DAYS_HENCE = 5&lt;BR /&gt;
TRUNCATE = 0&lt;BR /&gt;
DATETIME_CONFIG = NONE&lt;/P&gt;

&lt;P&gt;And this setting in inputs.conf&lt;BR /&gt;
[monitor:///test_folder/test.txt]&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
index = test_index&lt;BR /&gt;
sourcetype = test_test&lt;BR /&gt;
crcSalt = &lt;SOURCE&gt;&lt;/SOURCE&gt;&lt;/P&gt;

&lt;P&gt;why splunk is still trying to parse the timestamp in each line of test.txt instead of using the modified time of test.txt?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:08:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DATETIME-CONFIG-NONE-doesn-t-work/m-p/188661#M98492</guid>
      <dc:creator>hongduan</dc:creator>
      <dc:date>2020-09-28T16:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: DATETIME_CONFIG = NONE doesn't work</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DATETIME-CONFIG-NONE-doesn-t-work/m-p/188662#M98493</link>
      <description>&lt;P&gt;where is you props.conf file placed?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2014 15:42:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DATETIME-CONFIG-NONE-doesn-t-work/m-p/188662#M98493</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-03-14T15:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: DATETIME_CONFIG = NONE doesn't work</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DATETIME-CONFIG-NONE-doesn-t-work/m-p/188663#M98494</link>
      <description>&lt;P&gt;I am sure the props.conf file is placed in the correct location. cause other changes I made to props.conf are picked up by splunk, only this DATATIME_CONFIG = NONE not work.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2014 17:18:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DATETIME-CONFIG-NONE-doesn-t-work/m-p/188663#M98494</guid>
      <dc:creator>hongduan</dc:creator>
      <dc:date>2014-03-14T17:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: DATETIME_CONFIG = NONE doesn't work</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DATETIME-CONFIG-NONE-doesn-t-work/m-p/188664#M98495</link>
      <description>&lt;P&gt;if you don't need the date time config why is the TZ and Max_days_hence are there in your config?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:08:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DATETIME-CONFIG-NONE-doesn-t-work/m-p/188664#M98495</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2020-09-28T16:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: DATETIME_CONFIG = NONE doesn't work</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DATETIME-CONFIG-NONE-doesn-t-work/m-p/188665#M98496</link>
      <description>&lt;P&gt;Does that matter, thought splunk will ignore those fields. Let me try remove those fields see if it works.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2014 19:11:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DATETIME-CONFIG-NONE-doesn-t-work/m-p/188665#M98496</guid>
      <dc:creator>hongduan</dc:creator>
      <dc:date>2014-03-14T19:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: DATETIME_CONFIG = NONE doesn't work</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DATETIME-CONFIG-NONE-doesn-t-work/m-p/188666#M98497</link>
      <description>&lt;P&gt;Are you running a single instance of splunk? Or distributed with dedicated indexers? Timestamp manipulations are an index time thing so it needs to be on the indexers.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Mar 2014 14:45:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DATETIME-CONFIG-NONE-doesn-t-work/m-p/188666#M98497</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2014-03-16T14:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: DATETIME_CONFIG = NONE doesn't work</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DATETIME-CONFIG-NONE-doesn-t-work/m-p/188667#M98498</link>
      <description>&lt;P&gt;distributed with decicated indexers&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2014 13:55:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DATETIME-CONFIG-NONE-doesn-t-work/m-p/188667#M98498</guid>
      <dc:creator>hongduan</dc:creator>
      <dc:date>2014-03-17T13:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: DATETIME_CONFIG = NONE doesn't work</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DATETIME-CONFIG-NONE-doesn-t-work/m-p/188668#M98499</link>
      <description>&lt;P&gt;is it stored in the indexers in your distributed environment?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2014 14:20:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DATETIME-CONFIG-NONE-doesn-t-work/m-p/188668#M98499</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-03-17T14:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: DATETIME_CONFIG = NONE doesn't work</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DATETIME-CONFIG-NONE-doesn-t-work/m-p/188669#M98500</link>
      <description>&lt;P&gt;You will need to put the props stanza on each of the indexers.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2014 14:33:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DATETIME-CONFIG-NONE-doesn-t-work/m-p/188669#M98500</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2014-03-17T14:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: DATETIME_CONFIG = NONE doesn't work</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DATETIME-CONFIG-NONE-doesn-t-work/m-p/188670#M98501</link>
      <description>&lt;P&gt;it is not on the indexers. it is on the sourcetype. Why cannot I have different configurations for each sourcetype in an indexer?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2014 14:43:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DATETIME-CONFIG-NONE-doesn-t-work/m-p/188670#M98501</guid>
      <dc:creator>hongduan</dc:creator>
      <dc:date>2014-03-20T14:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: DATETIME_CONFIG = NONE doesn't work</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DATETIME-CONFIG-NONE-doesn-t-work/m-p/188671#M98502</link>
      <description>&lt;P&gt;when test this configuration in splunk data preview, it works very well. all records are using the modification time on the file&lt;BR /&gt;
but after I add my file into splunk using that sourcetype, splunk tries to parse the timestamp in the log record again.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2014 14:53:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DATETIME-CONFIG-NONE-doesn-t-work/m-p/188671#M98502</guid>
      <dc:creator>hongduan</dc:creator>
      <dc:date>2014-03-20T14:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: DATETIME_CONFIG = NONE doesn't work</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DATETIME-CONFIG-NONE-doesn-t-work/m-p/188672#M98503</link>
      <description>&lt;P&gt;Unfortunately, the &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf"&gt;docs&lt;/A&gt; say:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;"NONE" will leave the event time set to whatever time was selected by the input layer&lt;BR /&gt;
For data sent by splunk forwarders over the splunk protocol, the input layer will be the time that was selected on the forwarder by its input behavior (as below).&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;My solution was to use a batch input:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;[batch://D:\data*.csv]&lt;BR /&gt;
sourcetype = foo&lt;BR /&gt;
move_policy = sinkhole&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;and the sourcetype stanza in props.conf has &lt;CODE&gt;DATETIME_CONFIG = NONE&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;NOTE&lt;/STRONG&gt; batch input will &lt;STRONG&gt;DELETE&lt;/STRONG&gt; files as it imports them! So make a copy first!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2015 15:58:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DATETIME-CONFIG-NONE-doesn-t-work/m-p/188672#M98503</guid>
      <dc:creator>bnorthway</dc:creator>
      <dc:date>2015-07-15T15:58:36Z</dc:date>
    </item>
  </channel>
</rss>

