<?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: How do you event break in props.conf? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420951#M74057</link>
    <description>&lt;P&gt;Try to  use &lt;CODE&gt;SHOULD_LINEMERGE = true&lt;/CODE&gt; in props.conf.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jan 2019 12:37:45 GMT</pubDate>
    <dc:creator>p_gurav</dc:creator>
    <dc:date>2019-01-22T12:37:45Z</dc:date>
    <item>
      <title>How do you event break in props.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420949#M74055</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I am trying to break multiline events based on regex. but some events are not splitting properly.&lt;/P&gt;

&lt;P&gt;Events should be broken before the timestamp occurrence. In the below given example of Full GC event, it should be a single event but it has been splitting in 2 different events.&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[G1_BETA]
MAX_TIMESTAMP_LOOKAHEAD = 30
BREAK_ONLY_BEFORE = ^\d\d\d\d-\d\d-\d\d
DATETIME_CONFIG = 
NO_BINARY_CHECK = true
category = Custom
pulldown_type = 1
disabled = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;raw data&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2019-01-22T12:51:29.054+0100: 69921.814: [Full GC (Allocation Failure)  23G-&amp;gt;10201M(28G), 12.6256586 secs]
   [Eden: 8192.0K(1424.0M)-&amp;gt;0.0B(4408.0M) Survivors: 8192.0K-&amp;gt;0.0B Heap: 23.5G(28.0G)-&amp;gt;10201.9M(28.0G)], [Metaspace: 200039K-&amp;gt;200039K(1230848K)]
 [Times: user=18.85 sys=0.10, real=12.62 secs] 

2019-01-22T12:51:47.419+0100: 69940.179: [GC pause (G1 Humongous Allocation) (young) (initial-mark), 0.0300747 secs]
   [Parallel Time: 24.3 ms, GC Workers: 11]
      [GC Worker Start (ms): Min: 69940181.0, Avg: 69940181.2, Max: 69940181.3, Diff: 0.2]
&lt;/CODE&gt;&lt;/PRE&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/6431i733FF98CFD6E8070/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 12:14:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420949#M74055</guid>
      <dc:creator>AKG1_old1</dc:creator>
      <dc:date>2019-01-22T12:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do you event break in props.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420950#M74056</link>
      <description>&lt;P&gt;Try to set SHOULD_LINEMERGE to "true" &lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 12:30:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420950#M74056</guid>
      <dc:creator>eduardkiyko_</dc:creator>
      <dc:date>2019-01-22T12:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do you event break in props.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420951#M74057</link>
      <description>&lt;P&gt;Try to  use &lt;CODE&gt;SHOULD_LINEMERGE = true&lt;/CODE&gt; in props.conf.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 12:37:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420951#M74057</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2019-01-22T12:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do you event break in props.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420952#M74058</link>
      <description>&lt;P&gt;Hi @agoyal,&lt;/P&gt;

&lt;P&gt;Please try below config in props.conf on Indexer/Heavy Forwarder whichever comes first from Universal Forwarder.&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[yourSourcetype]
SHOULD_LINEMERGE=false
LINE_BREAKER=([\r\n]+)\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}
TIME_FORMAT=%Y-%m-%dT%H:%M:%S.%3N%z
TIME_PREFIX=^
MAX_TIMESTAMP_LOOKAHEAD=28
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;EDIT: Updated props.conf configuration, credit to @lakshman239 &lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 12:38:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420952#M74058</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2019-01-22T12:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do you event break in props.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420953#M74059</link>
      <description>&lt;P&gt;use TIME_PREFIX and TIME_FORMAT as well, if you use should_linemerge&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:51:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420953#M74059</guid>
      <dc:creator>lakshman239</dc:creator>
      <dc:date>2020-09-29T22:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do you event break in props.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420954#M74060</link>
      <description>&lt;P&gt;@harsmarvania57 : Thanks for reply. but i think problem is not with regex. these files are reading live and  Full GC events are getting printed in 2 parts.There is a small 1-2 sec gap between printing line. So Splunk picks half part first and 2nd part later. Is there anything can be done in such situation.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 12:59:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420954#M74060</guid>
      <dc:creator>AKG1_old1</dc:creator>
      <dc:date>2019-01-22T12:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do you event break in props.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420955#M74061</link>
      <description>&lt;P&gt;Thanks for reply. but i think problem is not with regex. these files are reading live and Full GC events are getting printed in 2 parts.There is a small 1-2 sec gap between printing line. So Splunk picks half part first and 2nd part later. Is there anything can be done in such situation.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 12:59:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420955#M74061</guid>
      <dc:creator>AKG1_old1</dc:creator>
      <dc:date>2019-01-22T12:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do you event break in props.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420956#M74062</link>
      <description>&lt;P&gt;I am breaking logs at timestamp only using LINE_BREAKER then is it really require &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt; and &lt;CODE&gt;TIME_PREFIX&lt;/CODE&gt; because splunk is automatically detecting TIMESTAMP correctly.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:54:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420956#M74062</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2020-09-29T22:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do you event break in props.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420957#M74063</link>
      <description>&lt;P&gt;Have a look at below parameters in inputs.conf on UF and try this config (I didn't test this parameter so not sure how it reacts)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;multiline_event_extra_waittime = &amp;lt;boolean&amp;gt;
* By default, the file monitor sends an event delimiter when:
  * It reaches EOF of a file it monitors and
  * Ihe last character it reads is a newline.
* In some cases, it takes time for all lines of a multiple-line event to
  arrive.
* Set to "true" to delay sending an event delimiter until the time that the
  file monitor closes the file, as defined by the 'time_before_close' setting,
  to allow all event lines to arrive.
* Default: false.

time_before_close = &amp;lt;integer&amp;gt;
* The amount of time, in seconds, that the file monitor must wait for
  modifications before closing a file after reaching an End-of-File
  (EOF) marker.
* Tells the input not to close files that have been updated in the
  past 'time_before_close' seconds.
* Default: 3.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 22 Jan 2019 13:16:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420957#M74063</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2019-01-22T13:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do you event break in props.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420958#M74064</link>
      <description>&lt;P&gt;Adding them will take away the default processing and evalate quickly and is also part of the best practices, when we manage multiline event with line breaker&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 13:28:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420958#M74064</guid>
      <dc:creator>lakshman239</dc:creator>
      <dc:date>2019-01-22T13:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do you event break in props.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420959#M74065</link>
      <description>&lt;P&gt;Yes, add the following to your inputs.conf: &lt;CODE&gt;multiline_event_extra_waittime = true&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 13:56:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420959#M74065</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2019-01-22T13:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do you event break in props.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420960#M74066</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/87518"&gt;@FrankVl&lt;/a&gt; : Thanks I have added this in my UNIVERSAL forwarder but not working.&lt;/P&gt;

&lt;P&gt;[monitor:///net/dell730srv/dell730srv1/apps/LuasMaster/logs.../&lt;EM&gt;.log]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
host = LUAS_2019_01_01&lt;BR /&gt;
index = mlc_live&lt;BR /&gt;
sourcetype = G1_BETA&lt;BR /&gt;
multiline_event_extra_waittime = true&lt;BR /&gt;
crcSalt = &lt;BR /&gt;
whitelist = .*gc.log$|.*gc.&lt;/EM&gt;.log$&lt;BR /&gt;
blacklist=logs_|fixing_|tps-archives&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:55:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420960#M74066</guid>
      <dc:creator>AKG1_old1</dc:creator>
      <dc:date>2020-09-29T22:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do you event break in props.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420961#M74067</link>
      <description>&lt;P&gt;@harsmarvania57 : Thanks I have added this to my UF but seems like not working. &lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 14:16:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420961#M74067</guid>
      <dc:creator>AKG1_old1</dc:creator>
      <dc:date>2019-01-23T14:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do you event break in props.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420962#M74068</link>
      <description>&lt;P&gt;I assume you restarted after that change? Could be that the issue then still is with the actual linebreaking config itself.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 14:18:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420962#M74068</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2019-01-23T14:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do you event break in props.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420963#M74069</link>
      <description>&lt;P&gt;Are you sure that gap is only 1-2 seconds for 2nd part of multi line events ? If it's more than that then you need to increase &lt;CODE&gt;time_before_close&lt;/CODE&gt; as well.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 14:24:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420963#M74069</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2019-01-23T14:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do you event break in props.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420964#M74070</link>
      <description>&lt;P&gt;Yeah I have restarted forwarder after this change. I have tried with manual upload of full file and events are break down as per requirement. &lt;/P&gt;

&lt;P&gt;I ll try to set  higher value of  "time_before_close = " &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:55:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420964#M74070</guid>
      <dc:creator>AKG1_old1</dc:creator>
      <dc:date>2020-09-29T22:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do you event break in props.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420965#M74071</link>
      <description>&lt;P&gt;yeah I tried tailing the log file and it was less than 3 secs. but I am going to try with increasing wait time to 5 sec.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 14:30:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-event-break-in-props-conf/m-p/420965#M74071</guid>
      <dc:creator>AKG1_old1</dc:creator>
      <dc:date>2019-01-23T14:30:40Z</dc:date>
    </item>
  </channel>
</rss>

