<?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 to configure Props.conf to break the events only before a specific line? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-configure-Props-conf-to-break-the-events-only-before-a/m-p/333470#M6900</link>
    <description>&lt;P&gt;Hey AdsicSplunk,&lt;/P&gt;

&lt;P&gt;You can try this:&lt;/P&gt;

&lt;P&gt;[source::/opt/saggw101/IntegrationServer/instances/default/logs/server.log*]&lt;BR /&gt;
SHOULD_LINEMERGE=true&lt;BR /&gt;
NO_BINARY_CHECK=true&lt;BR /&gt;
MUST_BREAK_AFTER =  (Length)=\d+&lt;/P&gt;

&lt;P&gt;Let me know if this helps!!&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 18:23:46 GMT</pubDate>
    <dc:creator>deepashri_123</dc:creator>
    <dc:date>2020-09-29T18:23:46Z</dc:date>
    <item>
      <title>How to configure Props.conf to break the events only before a specific line?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-configure-Props-conf-to-break-the-events-only-before-a/m-p/333468#M6898</link>
      <description>&lt;P&gt;I have a requirement to merge multiple lines that are by default broken into multiple events by indexer, and make one event before a specific line comes. The sample log file data is given below:-&lt;/P&gt;

&lt;P&gt;2018-03-05 15:23:03.123 [ISC.0038.0002D] &amp;lt;-- abcd-efgh-ijkl&lt;BR /&gt;
2018-03-05 15:23:03.234 [ISC.0038.0002D] &amp;lt;-- Length=550&lt;BR /&gt;
2018-03-05 15:23:03.345 [ISC.0038.0002D] &amp;lt;-- Host: localhost:7001&lt;BR /&gt;
2018-03-05 15:23:03.456 [ISC.0038.0002D] &amp;lt;-- Connection: 1&lt;BR /&gt;
2018-03-05 15:23:03.567 [ISC.0038.0002D] &amp;lt;-- mnop-qrst-uvw-xyz&lt;BR /&gt;
2018-03-05 15:23:03.678 [ISC.0038.0002D] &amp;lt;-- Length=600&lt;BR /&gt;
2018-03-05 15:23:03.789 [ISC.0038.0002D] &amp;lt;-- Host: localhost:7001&lt;BR /&gt;
2018-03-05 15:23:03.890 [ISC.0038.0002D] &amp;lt;-- Connection: 2&lt;BR /&gt;
2018-03-05 15:23:04.321 [ISC.0038.0002D] &amp;lt;-- mnop-qrst-uvw-xyz&lt;BR /&gt;
2018-03-05 15:23:05.432 [ISC.0038.0002D] &amp;lt;-- Length=600&lt;BR /&gt;
2018-03-05 15:23:06.542 [ISC.0038.0002D] &amp;lt;-- Host: localhost:7001&lt;/P&gt;

&lt;P&gt;props.conf:-&lt;/P&gt;

&lt;P&gt;[source::/opt/saggw101/IntegrationServer/instances/default/logs/server.log*]&lt;BR /&gt;
SHOULD_LINEMERGE=true&lt;BR /&gt;
BREAK_ONLY_BEFORE=\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}.\d{3}\s[\w{3}.\d{4}.\d{4}\w{1}]\s\W{3}\s\w{4}:\s\w{9}:\d{4}&lt;/P&gt;

&lt;P&gt;The above config is not working for me and the events that are created are multiple for each line. What I want is something like&lt;/P&gt;

&lt;P&gt;Event 1:-&lt;BR /&gt;
2018-03-05 15:23:03.345 [ISC.0038.0002D] &amp;lt;-- Host: localhost:7001&lt;BR /&gt;
2018-03-05 15:23:03.456 [ISC.0038.0002D] &amp;lt;-- Connection: 1&lt;BR /&gt;
2018-03-05 15:23:03.567 [ISC.0038.0002D] &amp;lt;-- mnop-qrst-uvw-xyz&lt;BR /&gt;
2018-03-05 15:23:03.678 [ISC.0038.0002D] &amp;lt;-- Length=600&lt;/P&gt;

&lt;P&gt;Event 2:-&lt;BR /&gt;
2018-03-05 15:23:03.789 [ISC.0038.0002D] &amp;lt;-- Host: localhost:7001&lt;BR /&gt;
2018-03-05 15:23:03.890 [ISC.0038.0002D] &amp;lt;-- Connection: 2&lt;BR /&gt;
2018-03-05 15:23:04.321 [ISC.0038.0002D] &amp;lt;-- mnop-qrst-uvw-xyz&lt;BR /&gt;
2018-03-05 15:23:05.432 [ISC.0038.0002D] &amp;lt;-- Length=600&lt;/P&gt;

&lt;P&gt;Could anyone help me out with this?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:19:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-configure-Props-conf-to-break-the-events-only-before-a/m-p/333468#M6898</guid>
      <dc:creator>AdsicSplunk</dc:creator>
      <dc:date>2020-09-29T18:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Props.conf to break the events only before a specific line?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-configure-Props-conf-to-break-the-events-only-before-a/m-p/333469#M6899</link>
      <description>&lt;P&gt;Hi @AdsicSplunk&lt;/P&gt;

&lt;P&gt;Please try below config in props.conf on Indexer or Heavy Forwarder whichever comes first and then restart splunk&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::/opt/saggw101/IntegrationServer/instances/default/logs/server.log*]
SHOULD_LINEMERGE=true
NO_BINARY_CHECK=true
BREAK_ONLY_BEFORE=\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2}\.\d{3}\s+\[\w+\.\d+\.\w+\]\s+\W{3}\s+Host:\s+\w+:\d+
BREAK_ONLY_BEFORE_DATE=false
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 07 Mar 2018 14:06:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-configure-Props-conf-to-break-the-events-only-before-a/m-p/333469#M6899</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-03-07T14:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Props.conf to break the events only before a specific line?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-configure-Props-conf-to-break-the-events-only-before-a/m-p/333470#M6900</link>
      <description>&lt;P&gt;Hey AdsicSplunk,&lt;/P&gt;

&lt;P&gt;You can try this:&lt;/P&gt;

&lt;P&gt;[source::/opt/saggw101/IntegrationServer/instances/default/logs/server.log*]&lt;BR /&gt;
SHOULD_LINEMERGE=true&lt;BR /&gt;
NO_BINARY_CHECK=true&lt;BR /&gt;
MUST_BREAK_AFTER =  (Length)=\d+&lt;/P&gt;

&lt;P&gt;Let me know if this helps!!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:23:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-configure-Props-conf-to-break-the-events-only-before-a/m-p/333470#M6900</guid>
      <dc:creator>deepashri_123</dc:creator>
      <dc:date>2020-09-29T18:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Props.conf to break the events only before a specific line?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-configure-Props-conf-to-break-the-events-only-before-a/m-p/333471#M6901</link>
      <description>&lt;P&gt;Thank you @harsmarvania57, This worked pretty well. &lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 05:51:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-configure-Props-conf-to-break-the-events-only-before-a/m-p/333471#M6901</guid>
      <dc:creator>AdsicSplunk</dc:creator>
      <dc:date>2018-03-14T05:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Props.conf to break the events only before a specific line?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-configure-Props-conf-to-break-the-events-only-before-a/m-p/333472#M6902</link>
      <description>&lt;P&gt;Thank you deepashri_123, I tried the answer by harsmarvania57 and it worked for me.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 05:52:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-configure-Props-conf-to-break-the-events-only-before-a/m-p/333472#M6902</guid>
      <dc:creator>AdsicSplunk</dc:creator>
      <dc:date>2018-03-14T05:52:25Z</dc:date>
    </item>
  </channel>
</rss>

