<?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 Timestamp containing newline in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-containing-newline/m-p/520561#M87976</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have just been presented with a very curious timestamp format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;18-08-2020 
15:41:00,07 
No running service instances found
0 service instances are online, which is different from the expected count of 1.
18-08-2020 
15:46:00,13 
No running service instances found
0 service instances are online, which is different from the expected count of 1.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My first instinct is to create a timeformat = %d-%m%Y\n%H:%M:%S,%2N, but is it at all possible to mix regex with strptime() formats?&lt;/P&gt;&lt;P&gt;Has anybody encountered something like it, and what solution did you come up with.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Sep 2020 07:40:26 GMT</pubDate>
    <dc:creator>las</dc:creator>
    <dc:date>2020-09-21T07:40:26Z</dc:date>
    <item>
      <title>Timestamp containing newline</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-containing-newline/m-p/520561#M87976</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have just been presented with a very curious timestamp format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;18-08-2020 
15:41:00,07 
No running service instances found
0 service instances are online, which is different from the expected count of 1.
18-08-2020 
15:46:00,13 
No running service instances found
0 service instances are online, which is different from the expected count of 1.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My first instinct is to create a timeformat = %d-%m%Y\n%H:%M:%S,%2N, but is it at all possible to mix regex with strptime() formats?&lt;/P&gt;&lt;P&gt;Has anybody encountered something like it, and what solution did you come up with.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 07:40:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-containing-newline/m-p/520561#M87976</guid>
      <dc:creator>las</dc:creator>
      <dc:date>2020-09-21T07:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp containing newline</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-containing-newline/m-p/520562#M87977</link>
      <description>&lt;P&gt;is that single event?&lt;/P&gt;&lt;P&gt;what is your SHOULD_LINEMERGE for this sourcetype?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 07:46:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-containing-newline/m-p/520562#M87977</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-09-21T07:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp containing newline</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-containing-newline/m-p/520563#M87978</link>
      <description>&lt;P&gt;Sorry, that is two events. Splunk by the timestamp containing the newline.&lt;/P&gt;&lt;P&gt;SHOULD_LINEMERGE = true&lt;/P&gt;&lt;P&gt;Just after I posted this I got thinking, and startet playing with&amp;nbsp;LINE_BREAKER=([\r\n]+)\d{2}-\d{2}, that seems to be able to do the trick&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 07:53:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-containing-newline/m-p/520563#M87978</guid>
      <dc:creator>las</dc:creator>
      <dc:date>2020-09-21T07:53:50Z</dc:date>
    </item>
  </channel>
</rss>

