<?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: Recognizing timestamps split across multiple lines in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Recognizing-timestamps-split-across-multiple-lines/m-p/19840#M2844</link>
    <description>&lt;P&gt;Sadly this doesn't seem to work.  Splunk cannot automatically figure out the separate date and time fields...  Thanks though!&lt;/P&gt;</description>
    <pubDate>Wed, 01 May 2013 08:46:29 GMT</pubDate>
    <dc:creator>MatMeredith</dc:creator>
    <dc:date>2013-05-01T08:46:29Z</dc:date>
    <item>
      <title>Recognizing timestamps split across multiple lines</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Recognizing-timestamps-split-across-multiple-lines/m-p/19837#M2841</link>
      <description>&lt;P&gt;My event have separate date and time fields on separate lines.  E.g.&lt;/P&gt;

&lt;P&gt;&lt;SOME lines="" of="" log=""&gt;&lt;BR /&gt;
Date: 29 April 2013&lt;BR /&gt;
&lt;SOME more="" lines="" of="" log=""&gt;&lt;BR /&gt;
Time: 12:02:03.6&lt;BR /&gt;
&lt;YET more="" lines="" of="" log=""&gt;&lt;/YET&gt;&lt;/SOME&gt;&lt;/SOME&gt;&lt;/P&gt;

&lt;P&gt;Is it possible to configure Splunk to automatically extract timestamps for these events, piecing together the date and time as necessary?&lt;/P&gt;

&lt;P&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2013 08:22:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Recognizing-timestamps-split-across-multiple-lines/m-p/19837#M2841</guid>
      <dc:creator>MatMeredith</dc:creator>
      <dc:date>2013-04-30T08:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Recognizing timestamps split across multiple lines</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Recognizing-timestamps-split-across-multiple-lines/m-p/19838#M2842</link>
      <description>&lt;P&gt;Splunk is fairly good at interpreting timestamps by itself. You could try to index a log file and see how well it performs. Two things, though;&lt;/P&gt;

&lt;P&gt;1) ensure that you have correct line_breaking, since splunk will normally break events when on the line where it encounters a timestamp. So if you have some lines before the timestamp that are part of the event, you may need to get explicit with some &lt;CODE&gt;props.conf&lt;/CODE&gt; settings (either a &lt;CODE&gt;SHOULD_LINEMERGE=true / MUST_BREAK.., BREAK_ONLY..&lt;/CODE&gt; combo, or &lt;CODE&gt;SHOULD_LINEMERGE=false / LINE_BREAKER&lt;/CODE&gt; combo. See the docs for &lt;CODE&gt;props.conf&lt;/CODE&gt; for this.&lt;/P&gt;

&lt;P&gt;2) You'll probably need to adjust the &lt;CODE&gt;MAX_TIMESTAMP_LOOKAHEAD&lt;/CODE&gt; to a higher number than the default 150.&lt;/P&gt;

&lt;P&gt;See this (and the following) page(s);&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/HowSplunkextractstimestamps" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/HowSplunkextractstimestamps&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;Kristian&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:48:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Recognizing-timestamps-split-across-multiple-lines/m-p/19838#M2842</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2020-09-28T13:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Recognizing timestamps split across multiple lines</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Recognizing-timestamps-split-across-multiple-lines/m-p/19839#M2843</link>
      <description>&lt;P&gt;Not automatically. I would use datetime.xml here and define custom extractions. &lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2013 19:08:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Recognizing-timestamps-split-across-multiple-lines/m-p/19839#M2843</guid>
      <dc:creator>_d_</dc:creator>
      <dc:date>2013-04-30T19:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Recognizing timestamps split across multiple lines</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Recognizing-timestamps-split-across-multiple-lines/m-p/19840#M2844</link>
      <description>&lt;P&gt;Sadly this doesn't seem to work.  Splunk cannot automatically figure out the separate date and time fields...  Thanks though!&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2013 08:46:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Recognizing-timestamps-split-across-multiple-lines/m-p/19840#M2844</guid>
      <dc:creator>MatMeredith</dc:creator>
      <dc:date>2013-05-01T08:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Recognizing timestamps split across multiple lines</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Recognizing-timestamps-split-across-multiple-lines/m-p/19841#M2845</link>
      <description>&lt;P&gt;That's what I feared...  Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2013 08:47:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Recognizing-timestamps-split-across-multiple-lines/m-p/19841#M2845</guid>
      <dc:creator>MatMeredith</dc:creator>
      <dc:date>2013-05-01T08:47:21Z</dc:date>
    </item>
  </channel>
</rss>

