<?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 event in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/timestamp-event/m-p/61793#M12339</link>
    <description>&lt;P&gt;There are many settings available in Splunk for &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/HowSplunkextractstimestamps"&gt;setting timestamps&lt;/A&gt;. For your case: First, identify the props.conf that you need to edit. If you aren't sure, you can create $SPLUNK_HOME/etc/system/local/props.conf.  Try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::/pathtoyoursource]
MAX_TIMESTAMP_LOOKAHEAD = 0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;By default, Splunk expects to see the timestamp in the first 150 characters of the event. This setting disables that, so Splunk will look all the way to the end of the event. There are other settings as well. For example, if you are trying to add older data, you might need to set &lt;CODE&gt;MAX_DAYS_AGO&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;You might also want to add&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SHOULD_LINEMERGE=false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;if your CSV file is one line per event. This will speed up processing of your input, and may improve timestamp recognition.&lt;/P&gt;

&lt;P&gt;BTW, if you have control of the format of the CSV file, you could move the timestamp so it is the first column of the file. Splunk would process the input more efficiently.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Feb 2012 22:05:58 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2012-02-01T22:05:58Z</dc:date>
    <item>
      <title>timestamp event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/timestamp-event/m-p/61792#M12338</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have already a date field on my CSV file but it isn't recognize.&lt;/P&gt;

&lt;P&gt;How I can help splunk to recognize this field to use as a timestamp ?&lt;/P&gt;

&lt;P&gt;My file :&lt;BR /&gt;
;"WIZARD_OR_SEARCH_NAME";"IDENTIFIER";"STATUS";"TEXT";"DATE"&lt;BR /&gt;
;"NULL";"NULL";"NULL";"ok";"NULL";"2011-10-19 04:39:14"&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:22:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/timestamp-event/m-p/61792#M12338</guid>
      <dc:creator>gabriel94</dc:creator>
      <dc:date>2020-09-28T10:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: timestamp event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/timestamp-event/m-p/61793#M12339</link>
      <description>&lt;P&gt;There are many settings available in Splunk for &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/HowSplunkextractstimestamps"&gt;setting timestamps&lt;/A&gt;. For your case: First, identify the props.conf that you need to edit. If you aren't sure, you can create $SPLUNK_HOME/etc/system/local/props.conf.  Try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::/pathtoyoursource]
MAX_TIMESTAMP_LOOKAHEAD = 0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;By default, Splunk expects to see the timestamp in the first 150 characters of the event. This setting disables that, so Splunk will look all the way to the end of the event. There are other settings as well. For example, if you are trying to add older data, you might need to set &lt;CODE&gt;MAX_DAYS_AGO&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;You might also want to add&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SHOULD_LINEMERGE=false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;if your CSV file is one line per event. This will speed up processing of your input, and may improve timestamp recognition.&lt;/P&gt;

&lt;P&gt;BTW, if you have control of the format of the CSV file, you could move the timestamp so it is the first column of the file. Splunk would process the input more efficiently.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2012 22:05:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/timestamp-event/m-p/61793#M12339</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-02-01T22:05:58Z</dc:date>
    </item>
  </channel>
</rss>

