<?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: Timestamp sometimes not recognized in batch in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-sometimes-not-recognized-in-batch/m-p/79883#M16434</link>
    <description>&lt;P&gt;Thanks. I stumbled into something similar and was just in the middle of changing that variable to check it on myself and it worked.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Jan 2013 20:07:48 GMT</pubDate>
    <dc:creator>Bradysmall</dc:creator>
    <dc:date>2013-01-07T20:07:48Z</dc:date>
    <item>
      <title>Timestamp sometimes not recognized in batch</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-sometimes-not-recognized-in-batch/m-p/79880#M16431</link>
      <description>&lt;P&gt;I have files that are simple CSV.. using a batch to get them into splunk.&lt;/P&gt;

&lt;P&gt;Logs look like this..&lt;/P&gt;

&lt;P&gt;12-06-2012 23:58:53.738,JBSP_P03,2_SPORTS/WIDEVID,CAM_05,Take,J_LIGHT2,OK&lt;/P&gt;

&lt;P&gt;in my props, I have &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;MAX_TIMESTAMP_LOOKAHEAD = 23
SHOULD_LINEMERGE = false
BREAK_ONLY_BEFORE_DATE = true
LINE_BREAKER = ([\r\n]+)
TRUNCATE = 999999
KV_MODE = None
TIME_FORMAT = %m-%d-%Y %H:%M:%S.%N
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;50% of the events get timestamped correctly.&lt;/P&gt;

&lt;P&gt;The other 50% get stamped for when the file got copied into the batch folder..&lt;/P&gt;

&lt;P&gt;12-06-2012 23:58:53.738,JBSP_P03,2_SPORTS/WIDEVID,CAM_05,Take,J_LIGHT2,OK - Stamped in splunk correctly.&lt;/P&gt;

&lt;P&gt;10-08-2004 23:07:27.156,TGQC32N,3_NON/AES1/2,PRFD1912,Take Path,8191,OK - Stamped incorrectly in splunk.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:03:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-sometimes-not-recognized-in-batch/m-p/79880#M16431</guid>
      <dc:creator>Bradysmall</dc:creator>
      <dc:date>2020-09-28T13:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp sometimes not recognized in batch</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-sometimes-not-recognized-in-batch/m-p/79881#M16432</link>
      <description>&lt;P&gt;You may need to add a MAX_DAYS_AGO line to your props.conf stanza.  By default, Splunk will throw out any extracted timestamps more than 2000 days old.  Your example is past that threshold, which is why it used index time.  &lt;/P&gt;

&lt;P&gt;from the &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/admin/propsconf"&gt;props.conf spec&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;MAX_DAYS_AGO = integer
* Specifies the maximum number of days past, from the current date, that an extracted date can be valid.
* For example, if MAX_DAYS_AGO = 10, Splunk ignores dates that are older than 10 days ago.
* Defaults to 2000 (days), maximum 10951.
* IMPORTANT: If your data is older than 2000 days, increase this setting.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 Jan 2013 19:20:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-sometimes-not-recognized-in-batch/m-p/79881#M16432</guid>
      <dc:creator>emiller42</dc:creator>
      <dc:date>2013-01-07T19:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp sometimes not recognized in batch</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-sometimes-not-recognized-in-batch/m-p/79882#M16433</link>
      <description>&lt;P&gt;Thanks. I stumbled into something similar and was just in the middle of changing that variable to check it on myself and it worked.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2013 20:07:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-sometimes-not-recognized-in-batch/m-p/79882#M16433</guid>
      <dc:creator>Bradysmall</dc:creator>
      <dc:date>2013-01-07T20:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp sometimes not recognized in batch</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-sometimes-not-recognized-in-batch/m-p/79883#M16434</link>
      <description>&lt;P&gt;Thanks. I stumbled into something similar and was just in the middle of changing that variable to check it on myself and it worked.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2013 20:07:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-sometimes-not-recognized-in-batch/m-p/79883#M16434</guid>
      <dc:creator>Bradysmall</dc:creator>
      <dc:date>2013-01-07T20:07:48Z</dc:date>
    </item>
  </channel>
</rss>

