<?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: hot to merge multiple lines into a single event? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/hot-to-merge-multiple-lines-into-a-single-event/m-p/452146#M78355</link>
    <description>&lt;P&gt;For sample data&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2019-05-09 14:41:02.3975 INFO CycleData - CycleDataTask started
2019-05-09 14:41:06.3746 INFO CycleData - Pool has NEW TICKETS:-&amp;gt; 
2019-05-09 14:41:06.3746 INFO CycleData - Pool has NEW TICKETS: -&amp;gt;
2019-05-09 14:41:06.3746 INFO CycleData - Pool has NEW TICKETS: -&amp;gt;
2019-05-09 14:41:06.3746 INFO CycleData - Pool has NEW TICKETS: -&amp;gt;
2019-05-09 14:41:06.8166 INFO CycleData - Pool has been updated succesfully.
2019-05-09 14:41:06.8166 INFO CycleData - Pool has been updated succesfully.
2019-05-09 14:41:06.8166 INFO CycleData - Pool has been updated succesfully.
2019-05-09 14:41:06.8166 INFO CycleData - Pool has been updated succesfully.
2019-05-09 14:41:06.8166 INFO CycleData - CycleDataTask finished
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please find solution&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[cycledata]
LINE_BREAKER = CycleDataTask finished([\r\n]+)
SHOULD_LINEMERGE = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;cheers&lt;/P&gt;</description>
    <pubDate>Fri, 10 May 2019 10:59:40 GMT</pubDate>
    <dc:creator>koshyk</dc:creator>
    <dc:date>2019-05-10T10:59:40Z</dc:date>
    <item>
      <title>hot to merge multiple lines into a single event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/hot-to-merge-multiple-lines-into-a-single-event/m-p/452141#M78350</link>
      <description>&lt;P&gt;hi guys,&lt;/P&gt;

&lt;P&gt;i am trying to merge these lines into a event&lt;/P&gt;

&lt;P&gt;so far i tried&lt;/P&gt;

&lt;P&gt;[cycledata]&lt;BR /&gt;
EVENT_BREAKER = (CycleDataTask finished)&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;/P&gt;

&lt;P&gt;i got block of lines starting with CycleDataTask started and finishing with CycleDataTask finished and i want to group them into a single event for each started finished.&lt;/P&gt;

&lt;P&gt;and MUST BREAK AFTER same regex&lt;/P&gt;

&lt;P&gt;these is an example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2019-05-09 13:29:02.3975 INFO CycleData - CycleDataTask started ________________________________________________________
2019-05-09 13:29:06.3746 INFO CycleData - Pool has NEW TICKETS:-&amp;gt; =
2019-05-09 13:29:06.3746 INFO CycleData - Pool has NEW TICKETS: -&amp;gt;
2019-05-09 13:29:06.3746 INFO CycleData - Pool has NEW TICKETS: -&amp;gt; 
2019-05-09 13:29:06.3746 INFO CycleData - Pool has NEW TICKETS: -&amp;gt; 
2019-05-09 13:29:06.8166 INFO CycleData - Pool has been updated succesfully.
2019-05-09 13:29:06.8166 INFO CycleData - Pool has been updated succesfully.
2019-05-09 13:29:06.8166 INFO CycleData - Pool has been updated succesfully.
2019-05-09 13:29:06.8166 INFO CycleData - Pool has been updated succesfully.
2019-05-09 13:29:06.8166 INFO CycleData - CycleDataTask finished _______________________________________________________
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:28:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/hot-to-merge-multiple-lines-into-a-single-event/m-p/452141#M78350</guid>
      <dc:creator>0xlc</dc:creator>
      <dc:date>2020-09-30T00:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: hot to merge multiple lines into a single event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/hot-to-merge-multiple-lines-into-a-single-event/m-p/452142#M78351</link>
      <description>&lt;P&gt;Is the example a single event you want to break into multiple events or multiple events you want to make into a single event?&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 19:57:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/hot-to-merge-multiple-lines-into-a-single-event/m-p/452142#M78351</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-05-09T19:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: hot to merge multiple lines into a single event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/hot-to-merge-multiple-lines-into-a-single-event/m-p/452143#M78352</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Just check if you gave (EVENT_BREAKER) instead of LINE_BREAKER attribute&lt;/P&gt;

&lt;P&gt;[cycledata]&lt;BR /&gt;
LINE_BREAKER = (CycleDataTask finished)&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;/P&gt;

&lt;P&gt;the above should work&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:27:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/hot-to-merge-multiple-lines-into-a-single-event/m-p/452143#M78352</guid>
      <dc:creator>PowerPacked</dc:creator>
      <dc:date>2020-09-30T00:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: hot to merge multiple lines into a single event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/hot-to-merge-multiple-lines-into-a-single-event/m-p/452144#M78353</link>
      <description>&lt;P&gt;the example has been edited, and like that seems just one long line, instead i have multiple lines which i want to merge in a single event&lt;/P&gt;

&lt;P&gt;it should start here:&lt;/P&gt;

&lt;P&gt;2019-05-09 13:29:02.3975 INFO CycleData - CycleDataTask started ________________________________________________________ &lt;/P&gt;

&lt;P&gt;and finish here:&lt;/P&gt;

&lt;P&gt;2019-05-09 13:29:06.8166 INFO CycleData - CycleDataTask finished _______________________________________________________ &lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 08:37:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/hot-to-merge-multiple-lines-into-a-single-event/m-p/452144#M78353</guid>
      <dc:creator>0xlc</dc:creator>
      <dc:date>2019-05-10T08:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: hot to merge multiple lines into a single event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/hot-to-merge-multiple-lines-into-a-single-event/m-p/452145#M78354</link>
      <description>&lt;P&gt;no it does not work&lt;/P&gt;

&lt;P&gt;i almost find a solution adding the example in data file but now it cuts off the word 'finished' which i use as regex. and of course i need it in.&lt;/P&gt;

&lt;P&gt;(finished)&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 09:05:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/hot-to-merge-multiple-lines-into-a-single-event/m-p/452145#M78354</guid>
      <dc:creator>0xlc</dc:creator>
      <dc:date>2019-05-10T09:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: hot to merge multiple lines into a single event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/hot-to-merge-multiple-lines-into-a-single-event/m-p/452146#M78355</link>
      <description>&lt;P&gt;For sample data&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2019-05-09 14:41:02.3975 INFO CycleData - CycleDataTask started
2019-05-09 14:41:06.3746 INFO CycleData - Pool has NEW TICKETS:-&amp;gt; 
2019-05-09 14:41:06.3746 INFO CycleData - Pool has NEW TICKETS: -&amp;gt;
2019-05-09 14:41:06.3746 INFO CycleData - Pool has NEW TICKETS: -&amp;gt;
2019-05-09 14:41:06.3746 INFO CycleData - Pool has NEW TICKETS: -&amp;gt;
2019-05-09 14:41:06.8166 INFO CycleData - Pool has been updated succesfully.
2019-05-09 14:41:06.8166 INFO CycleData - Pool has been updated succesfully.
2019-05-09 14:41:06.8166 INFO CycleData - Pool has been updated succesfully.
2019-05-09 14:41:06.8166 INFO CycleData - Pool has been updated succesfully.
2019-05-09 14:41:06.8166 INFO CycleData - CycleDataTask finished
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please find solution&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[cycledata]
LINE_BREAKER = CycleDataTask finished([\r\n]+)
SHOULD_LINEMERGE = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 10:59:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/hot-to-merge-multiple-lines-into-a-single-event/m-p/452146#M78355</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2019-05-10T10:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: hot to merge multiple lines into a single event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/hot-to-merge-multiple-lines-into-a-single-event/m-p/452147#M78356</link>
      <description>&lt;P&gt;this does not work&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 13:11:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/hot-to-merge-multiple-lines-into-a-single-event/m-p/452147#M78356</guid>
      <dc:creator>0xlc</dc:creator>
      <dc:date>2019-05-10T13:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: hot to merge multiple lines into a single event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/hot-to-merge-multiple-lines-into-a-single-event/m-p/452148#M78357</link>
      <description>&lt;P&gt;i think there is something going on with my cluster, if i upload a txt sample, and i add the regex (finished) it merges it almost fine, but then, when i add to props.conf does not work at all.&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 13:12:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/hot-to-merge-multiple-lines-into-a-single-event/m-p/452148#M78357</guid>
      <dc:creator>0xlc</dc:creator>
      <dc:date>2019-05-10T13:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: hot to merge multiple lines into a single event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/hot-to-merge-multiple-lines-into-a-single-event/m-p/452149#M78358</link>
      <description>&lt;P&gt;eh? Can you please verify if the sample data is like above?&lt;BR /&gt;
Your example had all lines merged already, so no settings required. I have split that into individual lines&lt;/P&gt;

&lt;P&gt;Please put your sample data again in a formatted way as it exactly occurs in your file (not in Splunk)&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 13:13:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/hot-to-merge-multiple-lines-into-a-single-event/m-p/452149#M78358</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2019-05-10T13:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: hot to merge multiple lines into a single event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/hot-to-merge-multiple-lines-into-a-single-event/m-p/452150#M78359</link>
      <description>&lt;P&gt;check now please&lt;/P&gt;

&lt;P&gt;reading again my message i was not very clear, i edited it.&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 13:26:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/hot-to-merge-multiple-lines-into-a-single-event/m-p/452150#M78359</guid>
      <dc:creator>0xlc</dc:creator>
      <dc:date>2019-05-10T13:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: hot to merge multiple lines into a single event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/hot-to-merge-multiple-lines-into-a-single-event/m-p/452151#M78360</link>
      <description>&lt;P&gt;I took below sample data and verified the config that I mentioned &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2019-05-09 14:41:02.3975 INFO CycleData - CycleDataTask started
 2019-05-09 14:41:06.3746 INFO CycleData - Pool has NEW TICKETS:-&amp;gt; 
 2019-05-09 14:41:06.3746 INFO CycleData - Pool has NEW TICKETS: -&amp;gt;
 2019-05-09 14:41:06.3746 INFO CycleData - Pool has NEW TICKETS: -&amp;gt;
 2019-05-09 14:41:06.3746 INFO CycleData - Pool has NEW TICKETS: -&amp;gt;
 2019-05-09 14:41:06.8166 INFO CycleData - Pool has been updated succesfully.
 2019-05-09 14:41:06.8166 INFO CycleData - Pool has been updated succesfully.
 2019-05-09 14:41:06.8166 INFO CycleData - Pool has been updated succesfully.
 2019-05-09 14:41:06.8166 INFO CycleData - Pool has been updated succesfully.
 2019-05-09 14:41:06.8166 INFO CycleData - CycleDataTask finished
 2019-05-10 14:41:02.3975 INFO CycleData - CycleDataTask started
 2019-05-10 14:41:06.3746 INFO CycleData - Pool has NEW TICKETS:-&amp;gt; 
 2019-05-10 14:41:06.3746 INFO CycleData - Pool has NEW TICKETS: -&amp;gt;
 2019-05-10 14:41:06.3746 INFO CycleData - Pool has NEW TICKETS: -&amp;gt;
 2019-05-10 14:41:06.3746 INFO CycleData - Pool has NEW TICKETS: -&amp;gt;
 2019-05-10 14:41:06.8166 INFO CycleData - Pool has been updated succesfully.
 2019-05-10 14:41:06.8166 INFO CycleData - Pool has been updated succesfully.
 2019-05-10 14:41:06.8166 INFO CycleData - Pool has been updated succesfully.
 2019-05-10 14:41:06.8166 INFO CycleData - Pool has been updated succesfully.
 2019-05-10 14:41:06.8166 INFO CycleData - CycleDataTask finished
 2019-05-08 14:41:02.3975 INFO CycleData - CycleDataTask started
 2019-05-08 14:41:06.3746 INFO CycleData - Pool has NEW TICKETS:-&amp;gt; 
 2019-05-08 14:41:06.3746 INFO CycleData - Pool has NEW TICKETS: -&amp;gt;
 2019-05-08 14:41:06.3746 INFO CycleData - Pool has NEW TICKETS: -&amp;gt;
 2019-05-08 14:41:06.3746 INFO CycleData - Pool has NEW TICKETS: -&amp;gt;
 2019-05-08 14:41:06.8166 INFO CycleData - Pool has been updated succesfully.
 2019-05-08 14:41:06.8166 INFO CycleData - Pool has been updated succesfully.
 2019-05-08 14:41:06.8166 INFO CycleData - Pool has been updated succesfully.
 2019-05-08 14:41:06.8166 INFO CycleData - Pool has been updated succesfully.
 2019-05-08 14:41:06.8166 INFO CycleData - CycleDataTask finished
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Config I have tried&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;LINE_BREAKER = CycleDataTask\sfinished([\r\n]*)
 MUST_BREAK_AFTER  = CycleDataTask\sfinished
 SHOULD_LINEMERGE = true
 TIME_PREFIX = ^
 MAX_TIMESTAMP_LOOKAHEAD = 26
 TIME_FORMAT = %Y-%m-%d %H:%M:%S.%4N
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is parsing as you are expecting, hopefully this helps&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 13:45:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/hot-to-merge-multiple-lines-into-a-single-event/m-p/452151#M78360</guid>
      <dc:creator>sanjeev543</dc:creator>
      <dc:date>2019-05-10T13:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: hot to merge multiple lines into a single event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/hot-to-merge-multiple-lines-into-a-single-event/m-p/452152#M78361</link>
      <description>&lt;P&gt;it's not working for me, as i said below, i believe there is something wrong going on with my cluster and config files.&lt;/P&gt;

&lt;P&gt;as soon i find a solution and this work i'll mark it as working&lt;/P&gt;

&lt;P&gt;thank you&lt;/P&gt;

&lt;P&gt;this is how it looks like&lt;/P&gt;

&lt;P&gt;&lt;A href="https://i.ibb.co/tCH3Fcz/Screenshot-2019-05-10-at-15-03-48.png"&gt;link text&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 13:55:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/hot-to-merge-multiple-lines-into-a-single-event/m-p/452152#M78361</guid>
      <dc:creator>0xlc</dc:creator>
      <dc:date>2019-05-10T13:55:34Z</dc:date>
    </item>
  </channel>
</rss>

