<?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 Extraction Issue in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-Extraction-Issue/m-p/151674#M30860</link>
    <description>&lt;P&gt;Thanks for the suggestion, but declaring MAX_TIMESTAMP_LOOKAHEAD=x hasn't worker either &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;# your settings
MAX_TIMESTAMP_LOOKAHEAD=1000
NO_BINARY_CHECK=1
SHOULD_LINEMERGE=false
TIME_FORMAT=%d-%m-%Y %H:%M:%S
TIME_PREFIX=Accepted_date\="&lt;/PRE&gt;</description>
    <pubDate>Mon, 28 Sep 2020 15:20:42 GMT</pubDate>
    <dc:creator>himynamesdave</dc:creator>
    <dc:date>2020-09-28T15:20:42Z</dc:date>
    <item>
      <title>Timestamp Extraction Issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-Extraction-Issue/m-p/151671#M30857</link>
      <description>&lt;P&gt;My data looks like this:&lt;/P&gt;

&lt;PRE&gt;{ EC_reference="C0000001", Entity_name="Charter 88", Entity_type="Third Party", Regulated_donee_type="", Recd_by="", Reported_under_62:12="", Is_sponsorship="", Donor_name="Joseph Rowntree Reform Trust, The Garden House", Donor_type="Company", Company_reg_num=":357963", Postcode="YO30 6WQ", Type_of_donation="Cash", Nature_Provision="", Purpose="", How_dealt_with="", Value_GBP="50000", Received_date="23-03-2001 00:00:00", Accepted_date="23-03-2001 00:00:00", Reported_date="07-09-2001 00:00:00", Compliance_breach="None" }&lt;/PRE&gt;

&lt;P&gt;In my props.conf I have:&lt;BR /&gt;
&lt;PRE&gt;# your settings&lt;BR /&gt;
NO_BINARY_CHECK=1&lt;BR /&gt;
SHOULD_LINEMERGE=false&lt;BR /&gt;
TIME_FORMAT=%d-%m-%Y %H:%M:%S&lt;BR /&gt;
TIME_PREFIX=Accepted_date=\"&lt;/PRE&gt;&lt;BR /&gt;
Though Splunk cannot ID a timestamp. I'm not sure what I've done wrong here...&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:20:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-Extraction-Issue/m-p/151671#M30857</guid>
      <dc:creator>himynamesdave</dc:creator>
      <dc:date>2020-09-28T15:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp Extraction Issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-Extraction-Issue/m-p/151672#M30858</link>
      <description>&lt;P&gt;The default MAX_TIMESTAMP_LOOKAHEAD is 150 characters.  That might be why it's not finding it.&lt;BR /&gt;&lt;BR /&gt;
The setting for the log you posted would be 394 characters, but it looks like the size of the log can vary considerably.&lt;BR /&gt;&lt;BR /&gt;
Try setting MAX_TIMESTAMP_LOOKAHEAD = 1000  &lt;/P&gt;

&lt;P&gt;The documentation says this will effect indexing performance because it takes Splunk longer to find the timestamp:&lt;BR /&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Tunetimestampextractionforbetterindexingperformance"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Tunetimestampextractionforbetterindexingperformance&lt;/A&gt;  &lt;/P&gt;

&lt;P&gt;See this post for a similar example:&lt;BR /&gt;&lt;BR /&gt;
&lt;A href="http://answers.splunk.com/answers/4338/time-stamping-problem-using-time_prefix"&gt;http://answers.splunk.com/answers/4338/time-stamping-problem-using-time_prefix&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2013 22:05:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-Extraction-Issue/m-p/151672#M30858</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-21T22:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp Extraction Issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-Extraction-Issue/m-p/151673#M30859</link>
      <description>&lt;P&gt;Not sure which field has the timestamp that you want to use. I have read of something like this working before when the time format alone would not.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_FORMAT=Received_date="%d-%m-%Y %H:%M:%S"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Nov 2013 22:16:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-Extraction-Issue/m-p/151673#M30859</guid>
      <dc:creator>agodoy</dc:creator>
      <dc:date>2013-11-21T22:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp Extraction Issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-Extraction-Issue/m-p/151674#M30860</link>
      <description>&lt;P&gt;Thanks for the suggestion, but declaring MAX_TIMESTAMP_LOOKAHEAD=x hasn't worker either &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;# your settings
MAX_TIMESTAMP_LOOKAHEAD=1000
NO_BINARY_CHECK=1
SHOULD_LINEMERGE=false
TIME_FORMAT=%d-%m-%Y %H:%M:%S
TIME_PREFIX=Accepted_date\="&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:20:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-Extraction-Issue/m-p/151674#M30860</guid>
      <dc:creator>himynamesdave</dc:creator>
      <dc:date>2020-09-28T15:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp Extraction Issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-Extraction-Issue/m-p/151675#M30861</link>
      <description>&lt;P&gt;I was not aware you could use a text string in the TIME_FORMAT field. Looking at the docs it calls for a &lt;STRPTIME-STYLE format=""&gt;.&lt;/STRPTIME-STYLE&gt;&lt;/P&gt;

&lt;P&gt;HOWEVER, when I change the props.conf file to the following, Splunk can identify the %H:%M:%S part of the timestamp :S&lt;/P&gt;

&lt;PRE&gt;# your settings
MAX_TIMESTAMP_LOOKAHEAD=1000
NO_BINARY_CHECK=1
SHOULD_LINEMERGE=false
TIME_FORMAT=Accepted_date="%d-%m-%Y %H:%M:%S"
&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Nov 2013 22:52:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-Extraction-Issue/m-p/151675#M30861</guid>
      <dc:creator>himynamesdave</dc:creator>
      <dc:date>2013-11-21T22:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp Extraction Issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-Extraction-Issue/m-p/151676#M30862</link>
      <description>&lt;P&gt;You don't need to escape the = in the TIME_PREFIX&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2013 23:52:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-Extraction-Issue/m-p/151676#M30862</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-21T23:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp Extraction Issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-Extraction-Issue/m-p/151677#M30863</link>
      <description>&lt;P&gt;Ah, OK. Although Splunk still fails to read the timestamp after removing the \&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2013 13:41:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-Extraction-Issue/m-p/151677#M30863</guid>
      <dc:creator>himynamesdave</dc:creator>
      <dc:date>2013-11-22T13:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp Extraction Issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-Extraction-Issue/m-p/151678#M30864</link>
      <description>&lt;P&gt;I think the issue could have something to do with the age of the timestamp, there is another setting MAX_DAYS_AGO that defaults to 2000 days (approx 5.5 years) your date is 2001 which is over 12 years ago. Try setting MAX_DAYS_AGO to its maximum value 10951 (approx 30 years)&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:20:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-Extraction-Issue/m-p/151678#M30864</guid>
      <dc:creator>davebrooking</dc:creator>
      <dc:date>2020-09-28T15:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp Extraction Issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-Extraction-Issue/m-p/151679#M30865</link>
      <description>&lt;P&gt;BINGO! Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2013 17:34:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-Extraction-Issue/m-p/151679#M30865</guid>
      <dc:creator>himynamesdave</dc:creator>
      <dc:date>2013-11-22T17:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp Extraction Issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-Extraction-Issue/m-p/151680#M30866</link>
      <description>&lt;P&gt;Nice catch&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2013 23:16:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-Extraction-Issue/m-p/151680#M30866</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-22T23:16:23Z</dc:date>
    </item>
  </channel>
</rss>

