<?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: Unable to break Multi line event into single event in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-break-Multi-line-event-into-single-event/m-p/492341#M84154</link>
    <description>&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;But it didnt work for me . Not sure if i'm missing any settings&lt;/P&gt;

&lt;P&gt;[IIS]&lt;BR /&gt;
SHOULD_LINEMERGE=false&lt;BR /&gt;
LINE_BREAKER=(\s+,)&lt;BR /&gt;
NO_BINARY_CHECK=true&lt;BR /&gt;
TIME_FORMAT=%Y-%m-%d&lt;BR /&gt;
TIME_PREFIX=^&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD=11&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 03:07:12 GMT</pubDate>
    <dc:creator>srimukundant</dc:creator>
    <dc:date>2020-09-30T03:07:12Z</dc:date>
    <item>
      <title>Unable to break Multi line event into single event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-break-Multi-line-event-into-single-event/m-p/492332#M84145</link>
      <description>&lt;P&gt;Im trying to break multiline events into single event for applying logics , but not able to to tried multiple options&lt;/P&gt;

&lt;P&gt;How log looks as below:&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7999iA6A0CC3286FD16BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Tried the config changes in props.config as below&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8000i9E229F1002C2D3CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Can some one help me...&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 14:22:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-break-Multi-line-event-into-single-event/m-p/492332#M84145</guid>
      <dc:creator>srimukundant</dc:creator>
      <dc:date>2019-11-21T14:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to break Multi line event into single event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-break-Multi-line-event-into-single-event/m-p/492333#M84146</link>
      <description>&lt;P&gt;Try this (I am not sure if multiple capture groups is supported for &lt;CODE&gt;LINE_BREAKER&lt;/CODE&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[Your Sourcetype Here]
SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+\s*\&amp;lt;UKGHS\&amp;gt;[,\s]+)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Nov 2019 15:12:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-break-Multi-line-event-into-single-event/m-p/492333#M84146</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-11-21T15:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to break Multi line event into single event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-break-Multi-line-event-into-single-event/m-p/492334#M84147</link>
      <description>&lt;P&gt;Try removing &lt;STRONG&gt;([/r/n]+)&lt;/STRONG&gt; from your line breaker and leaving only &lt;STRONG&gt;(&amp;lt; UKGHS&amp;gt;,)&lt;/STRONG&gt;.&lt;BR /&gt;
If that doesn't work please provide an actual sample of events.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 15:17:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-break-Multi-line-event-into-single-event/m-p/492334#M84147</guid>
      <dc:creator>oscar84x</dc:creator>
      <dc:date>2019-11-21T15:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to break Multi line event into single event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-break-Multi-line-event-into-single-event/m-p/492335#M84148</link>
      <description>&lt;P&gt;Sample Data&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;UKGHS&amp;gt;,2019-11-17,8909,5759,3117
&amp;lt;UKGHS&amp;gt;,2019-11-17,9217,6001,3217
&amp;lt;UKGHS&amp;gt;,2019-11-17,9330,5984,3217
&amp;lt;UKGHS&amp;gt;,2019-11-17,1729,4176,3117
&amp;lt;UKGHS&amp;gt;,2019-11-17,5042,4171,3117
&amp;lt;UKGHS&amp;gt;,2019-11-18,9351,6048,3217
&amp;lt;UKGHS&amp;gt;,2019-11-19,9320,6067,3217
&amp;lt;UKGHS&amp;gt;,2019-11-20,8960,5824,3117
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;above is the one sample event which gets captured at a particular time. Wanted this complete single event to be Splitted into multiple separate events (i.e into 8 separate event lines)&lt;/P&gt;

&lt;P&gt;Props&lt;BR /&gt;
[UK_Stats]&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
LINE_BREAKER = (&amp;lt; UKGHS&amp;gt;,).&lt;/P&gt;

&lt;P&gt;Hi thanks for your reply , but it didnt work..Can you help me&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:07:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-break-Multi-line-event-into-single-event/m-p/492335#M84148</guid>
      <dc:creator>srimukundant</dc:creator>
      <dc:date>2020-09-30T03:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to break Multi line event into single event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-break-Multi-line-event-into-single-event/m-p/492336#M84149</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;Thanks for your reply , but Still no luck , &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;11/21/19
3:40:14.000 PM  
&amp;lt;UKGHS&amp;gt;,2019-11-17,8909,5759,3117
&amp;lt;UKGHS&amp;gt;,2019-11-17,9217,6001,3217
&amp;lt;UKGHS&amp;gt;,2019-11-17,9330,5984,3217
&amp;lt;UKGHS&amp;gt;,2019-11-17,1729,4176,3117
&amp;lt;UKGHS&amp;gt;,2019-11-17,5042,4171,3117
&amp;lt;UKGHS&amp;gt;,2019-11-18,9351,6048,3217
&amp;lt;UKGHS&amp;gt;,2019-11-19,9320,6067,3217
&amp;lt;UKGHS&amp;gt;,2019-11-20,8960,5824,3117
Collapse

11/21/19
3:36:46.000 PM  
&amp;lt;UKGHS&amp;gt; ,2019-11-16,8909,5759,3116
&amp;lt;UKGHS&amp;gt; ,2019-11-16,9216,6001,3216
&amp;lt;UKGHS&amp;gt;,2019-11-16,9330,5984,3216
&amp;lt;UKGHS&amp;gt;,2019-11-16,1629,4166,3116
&amp;lt;UKGHS&amp;gt;,2019-11-17,5042,4171,3116
Show all 8 lines

11/21/19
3:35:52.000 PM  
&amp;lt;UKGHS&amp;gt; ,2019-11-15,8909,5759,3115
&amp;lt;UKGHS&amp;gt; ,2019-11-15,9215,6001,3215
&amp;lt;UKGHS&amp;gt;,2019-11-16,9330,5984,3215
&amp;lt;UKGHS&amp;gt;,2019-11-16,1529,4156,3115
&amp;lt;UKGHS&amp;gt;,2019-11-17,5042,4171,3115
Show all 8 lines
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Nov 2019 15:48:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-break-Multi-line-event-into-single-event/m-p/492336#M84149</guid>
      <dc:creator>srimukundant</dc:creator>
      <dc:date>2019-11-21T15:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to break Multi line event into single event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-break-Multi-line-event-into-single-event/m-p/492337#M84150</link>
      <description>&lt;P&gt;Sample data&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;Blockquote&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;,2019-11-17,8909,5759,3117&lt;BR /&gt;
,2019-11-17,9217,6001,3217&lt;BR /&gt;
,2019-11-17,9330,5984,3217&lt;BR /&gt;
,2019-11-17,1729,4176,3117&lt;BR /&gt;
,2019-11-17,5042,4171,3117&lt;BR /&gt;
,2019-11-18,9351,6048,3217&lt;BR /&gt;
,2019-11-19,9320,6067,3217&lt;BR /&gt;
,2019-11-20,8960,5824,3117&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 15:52:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-break-Multi-line-event-into-single-event/m-p/492337#M84150</guid>
      <dc:creator>srimukundant</dc:creator>
      <dc:date>2019-11-21T15:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to break Multi line event into single event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-break-Multi-line-event-into-single-event/m-p/492338#M84151</link>
      <description>&lt;P&gt;@srimukundant What you provided doesn't include &amp;lt; UKGHS&amp;gt;&lt;BR /&gt;
Can you copy and paste exactly what you're trying to ingest?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 16:06:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-break-Multi-line-event-into-single-event/m-p/492338#M84151</guid>
      <dc:creator>oscar84x</dc:creator>
      <dc:date>2019-11-21T16:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to break Multi line event into single event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-break-Multi-line-event-into-single-event/m-p/492339#M84152</link>
      <description>&lt;P&gt;Hi, This the ingest data&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;UKGHS&amp;gt;,2019-11-17,8909,5759,3117
 &amp;lt;UKGHS&amp;gt;,2019-11-17,9217,6001,3217
 &amp;lt;UKGHS&amp;gt;,2019-11-17,9330,5984,3217
 &amp;lt;UKGHS&amp;gt;,2019-11-17,1729,4176,3117
 &amp;lt;UKGHS&amp;gt;,2019-11-17,5042,4171,3117
 &amp;lt;UKGHS&amp;gt;,2019-11-18,9351,6048,3217
 &amp;lt;UKGHS&amp;gt;,2019-11-19,9320,6067,3217
 &amp;lt;UKGHS&amp;gt;,2019-11-20,8960,5824,3117
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Nov 2019 16:09:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-break-Multi-line-event-into-single-event/m-p/492339#M84152</guid>
      <dc:creator>srimukundant</dc:creator>
      <dc:date>2019-11-21T16:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to break Multi line event into single event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-break-Multi-line-event-into-single-event/m-p/492340#M84153</link>
      <description>&lt;P&gt;Thanks. For what you provided specifically, the settings below work for me. Note that in the sample you provided there are 2 or 3 empty spaces at the beginning of each line. I'm not sure if that's accurate or not:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[ &amp;lt;your_sourcetype&amp;gt; ]
SHOULD_LINEMERGE=false
LINE_BREAKER=(\s+&amp;lt;UKGHS&amp;gt;,)
NO_BINARY_CHECK=true
TIME_FORMAT=%Y-%m-%d
TIME_PREFIX=^
MAX_TIMESTAMP_LOOKAHEAD=11
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Nov 2019 16:18:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-break-Multi-line-event-into-single-event/m-p/492340#M84153</guid>
      <dc:creator>oscar84x</dc:creator>
      <dc:date>2019-11-21T16:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to break Multi line event into single event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-break-Multi-line-event-into-single-event/m-p/492341#M84154</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;But it didnt work for me . Not sure if i'm missing any settings&lt;/P&gt;

&lt;P&gt;[IIS]&lt;BR /&gt;
SHOULD_LINEMERGE=false&lt;BR /&gt;
LINE_BREAKER=(\s+,)&lt;BR /&gt;
NO_BINARY_CHECK=true&lt;BR /&gt;
TIME_FORMAT=%Y-%m-%d&lt;BR /&gt;
TIME_PREFIX=^&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD=11&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:07:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-break-Multi-line-event-into-single-event/m-p/492341#M84154</guid>
      <dc:creator>srimukundant</dc:creator>
      <dc:date>2020-09-30T03:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to break Multi line event into single event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-break-Multi-line-event-into-single-event/m-p/492342#M84155</link>
      <description>&lt;P&gt;I am sure that these settings are correct so it must be something else.  If you are doing a sourcetype override/overwrite, you must use the &lt;EM&gt;ORIGINAL&lt;/EM&gt; value, &lt;EM&gt;NOT&lt;/EM&gt; the new value.  You must deploy your settings to the first full instance(s) of Splunk that handle the events (usually either the HF tier if you use one, or else your Indexer tier) UNLESS you are using HEC's JSON endpoint (it gets pre-cooked) or INDEXED_EXTRACTIONS (configs go on the UF in that case), then restart all Splunk instances there.  When (re)evaluating, you must send in new events (old events will stay broken), then test using &lt;CODE&gt;_index_earliest=-5m&lt;/CODE&gt; to be absolutely certain that you are only examining the newly indexed events.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:03:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-break-Multi-line-event-into-single-event/m-p/492342#M84155</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-09-30T03:03:17Z</dc:date>
    </item>
  </channel>
</rss>

