<?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 parsing - Failed to parse errors in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-parsing-Failed-to-parse-errors/m-p/66951#M13447</link>
    <description>&lt;P&gt;These errors are logged when Splunk is unable to find a time stamp in the event and falls back on something else such as the time stamp of the previous event from that source/host/sourcetype, or the current time.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Nov 2011 15:41:09 GMT</pubDate>
    <dc:creator>hexx</dc:creator>
    <dc:date>2011-11-09T15:41:09Z</dc:date>
    <item>
      <title>Timestamp parsing - Failed to parse errors</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-parsing-Failed-to-parse-errors/m-p/66948#M13444</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a log that contains large multiline events such as:&lt;BR /&gt;&lt;BR /&gt;
&lt;CODE&gt;---- DS log entry made at 08/29/2011 11:03:00&lt;BR /&gt;
*** Log is continued from intermediate LogID [15cc1510] ***&lt;BR /&gt;
Message E:\FILES\SPOOL\DOMAINS\TEST.COM\B0391744043.RCP queued for remote delivery to domain TEST.COM (.LCK).&lt;BR /&gt;
Message E:\FILES\SPOOL\DOMAINS\TEST.COM\B0391744045.RCP queued for remote delivery to domain TEST.COM (.LCK).&lt;BR /&gt;
Message E:\FILES\SPOOL\DOMAINS\TEST.COM\B0391744047.RCP queued for remote delivery to domain TEST.COM (.LCK).&lt;BR /&gt;
Message E:\FILES\SPOOL\DOMAINS\TEST.COM\B0391744051.RCP queued for remote delivery to domain TEST.COM (.LCK).&lt;BR /&gt;
Message E:\FILES\SPOOL\DOMAINS\TEST.COM\B0391744053.RCP queued for remote delivery to domain TEST.COM (.LCK).&lt;BR /&gt;
Message E:\FILES\SPOOL\DOMAINS\TEST.COM\B0391744054.RCP queued for remote delivery to domain TEST.COM (.LCK).&lt;BR /&gt;
Message E:\FILES\SPOOL\DOMAINS\TEST.COM\B0391744056.RCP queued for remote delivery to domain TEST.COM (.LCK).&lt;BR /&gt;
Message E:\FILES\SPOOL\DOMAINS\TEST.COM\B0391744062.RCP queued for remote delivery to domain TEST.COM (.LCK).&lt;BR /&gt;
*** Intermediate LogID [15cc03e0] will be continued later. ***&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I would like each line that starts with "Message" to be its own event so that I can search and manipulate related events. But the induvidual lines when I break them don't have a timestamp and so I get errors like:&lt;BR /&gt;&lt;BR /&gt;
&lt;CODE&gt;DateParserVerbose - Failed to parse timestamp for event.  Context="source::/opt/logs/OPR20110829-7.LOG|host::server1|mysourcetype|" Text="Message E:\FILES\SPOOL\DOMAINS\TEST.COM\B0391744043.RCP queued for remote delivery to domain"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Using props.conf of:&lt;BR /&gt;
&lt;CODE&gt;&lt;BR /&gt;
[mysourcetype]&lt;BR /&gt;
LINE_BREAKER = ([\r\n]+)((----)|(***\s)|(Message\s))&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;When I look at the events in the search app they end up appearing in the correct order with a timestamp that based on precedence would seem like it's getting it from the previous events based on the documentation.&lt;/P&gt;

&lt;P&gt;The source is /opt/logs/OPR20110829-7.LOG and I also tried a custom file name timestamp to with luck.&lt;/P&gt;

&lt;P&gt;How can I supress the warnings in the splunkd logs if the timestamp precedence is working ok for me?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:51:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-parsing-Failed-to-parse-errors/m-p/66948#M13444</guid>
      <dc:creator>Derek</dc:creator>
      <dc:date>2020-09-28T09:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp parsing - Failed to parse errors</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-parsing-Failed-to-parse-errors/m-p/66949#M13445</link>
      <description>&lt;P&gt;I don't believe that it's a good idea to suppress those warnings, but if you really need to do so, you could edit &lt;CODE&gt;$SPLUNK_HOME/etc/log.cfg&lt;/CODE&gt; and push the threshold of DateParserVerbose to ERROR by adding this line :&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;category.DateParserVerbose=ERROR&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;This requires a restart of splunkd to take effect.&lt;/P&gt;

&lt;P&gt;Please note that by doing this, you would obfuscate other warnings of this type for other sources, which might be undesirable.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2011 21:43:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-parsing-Failed-to-parse-errors/m-p/66949#M13445</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2011-08-30T21:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp parsing - Failed to parse errors</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-parsing-Failed-to-parse-errors/m-p/66950#M13446</link>
      <description>&lt;P&gt;Yes, I would rather not, but haven't been able to get anywere yet with it.&lt;/P&gt;

&lt;P&gt;When does splunkd log the error? If it doesn't parse a timestamp from the raw event and has to use the filename or indexing time?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2011 23:09:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-parsing-Failed-to-parse-errors/m-p/66950#M13446</guid>
      <dc:creator>Derek</dc:creator>
      <dc:date>2011-08-30T23:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp parsing - Failed to parse errors</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-parsing-Failed-to-parse-errors/m-p/66951#M13447</link>
      <description>&lt;P&gt;These errors are logged when Splunk is unable to find a time stamp in the event and falls back on something else such as the time stamp of the previous event from that source/host/sourcetype, or the current time.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2011 15:41:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-parsing-Failed-to-parse-errors/m-p/66951#M13447</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2011-11-09T15:41:09Z</dc:date>
    </item>
  </channel>
</rss>

