<?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 Need help with a regex for line_breaker in props.conf in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-regex-for-line-breaker-in-props-conf/m-p/568559#M198144</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Need help with regex for LINE_&lt;STRONG&gt;BREAKER&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;attribute in props.conf.&lt;/P&gt;&lt;P&gt;I have the below data and wanted it as a single event in Splunk. Currently, &amp;lt;RESULTS&amp;gt; data splits into multiple events.&lt;/P&gt;&lt;P&gt;I would like to send the entire &amp;lt;DETECTION&amp;gt; tag as a single event. Can someone help me provide the right LINE_BREAKER pattern to be used?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;DETECTION&amp;gt;
    &amp;lt;ID&amp;gt;231&amp;lt;/ID&amp;gt;
    &amp;lt;TYPE&amp;gt;Information&amp;lt;/TYPE&amp;gt;
    &amp;lt;SEVERITY&amp;gt;1&amp;lt;/SEVERITY&amp;gt;
    &amp;lt;RESULTS&amp;gt;Line 1 :
 field 1 :  value1
 field 2: value2&amp;lt;/RESULTS&amp;gt;
    &amp;lt;STATUS&amp;gt;NEW&amp;lt;/STATUS&amp;gt;
&amp;lt;/DETECTION&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Sep 2021 14:07:31 GMT</pubDate>
    <dc:creator>mbachhav</dc:creator>
    <dc:date>2021-09-27T14:07:31Z</dc:date>
    <item>
      <title>Need help with a regex for line_breaker in props.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-regex-for-line-breaker-in-props-conf/m-p/568559#M198144</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Need help with regex for LINE_&lt;STRONG&gt;BREAKER&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;attribute in props.conf.&lt;/P&gt;&lt;P&gt;I have the below data and wanted it as a single event in Splunk. Currently, &amp;lt;RESULTS&amp;gt; data splits into multiple events.&lt;/P&gt;&lt;P&gt;I would like to send the entire &amp;lt;DETECTION&amp;gt; tag as a single event. Can someone help me provide the right LINE_BREAKER pattern to be used?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;DETECTION&amp;gt;
    &amp;lt;ID&amp;gt;231&amp;lt;/ID&amp;gt;
    &amp;lt;TYPE&amp;gt;Information&amp;lt;/TYPE&amp;gt;
    &amp;lt;SEVERITY&amp;gt;1&amp;lt;/SEVERITY&amp;gt;
    &amp;lt;RESULTS&amp;gt;Line 1 :
 field 1 :  value1
 field 2: value2&amp;lt;/RESULTS&amp;gt;
    &amp;lt;STATUS&amp;gt;NEW&amp;lt;/STATUS&amp;gt;
&amp;lt;/DETECTION&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 14:07:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-regex-for-line-breaker-in-props-conf/m-p/568559#M198144</guid>
      <dc:creator>mbachhav</dc:creator>
      <dc:date>2021-09-27T14:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with a regex for line_breaker in props.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-regex-for-line-breaker-in-props-conf/m-p/568566#M198149</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/69461"&gt;@mbachhav&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try this props&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[&amp;lt;your sourcetype&amp;gt;]
SHOULD_LINEMERGE=true
NO_BINARY_CHECK=true
BREAK_ONLY_BEFORE=\&amp;lt;DETECTION\&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 27 Sep 2021 14:57:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-regex-for-line-breaker-in-props-conf/m-p/568566#M198149</guid>
      <dc:creator>aasabatini</dc:creator>
      <dc:date>2021-09-27T14:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with a regex for line_breaker in props.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-regex-for-line-breaker-in-props-conf/m-p/568568#M198151</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/222210"&gt;@aasabatini&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I tried the suggested option but it's not working as expected. Data is split into multiple events.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 15:27:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-regex-for-line-breaker-in-props-conf/m-p/568568#M198151</guid>
      <dc:creator>mbachhav</dc:creator>
      <dc:date>2021-09-27T15:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with a regex for line_breaker in props.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-regex-for-line-breaker-in-props-conf/m-p/568570#M198152</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/69461"&gt;@mbachhav&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you show youe props.conf?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Alessandro&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 15:34:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-regex-for-line-breaker-in-props-conf/m-p/568570#M198152</guid>
      <dc:creator>aasabatini</dc:creator>
      <dc:date>2021-09-27T15:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with a regex for line_breaker in props.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-regex-for-line-breaker-in-props-conf/m-p/568571#M198153</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is my props.conf file -&amp;nbsp;&lt;/P&gt;&lt;P&gt;[stanza]&lt;BR /&gt;TIMESTAMP_FIELDS=dateTime&lt;BR /&gt;LINE_BREAKER =\&amp;lt;DETECTION\&amp;gt;&lt;BR /&gt;SHOULD_LINEMERGE=true&lt;BR /&gt;NO_BINARY_CHECK=true&lt;BR /&gt;TZ=UTC&lt;BR /&gt;CHARSET=UTF-8&lt;BR /&gt;KV_MODE=xml&lt;BR /&gt;MAX_EVENTS=50000&lt;BR /&gt;TIME_FORMAT=%Y-%m-%dT%H:%M:%SZ&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 15:37:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-regex-for-line-breaker-in-props-conf/m-p/568571#M198153</guid>
      <dc:creator>mbachhav</dc:creator>
      <dc:date>2021-09-27T15:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with a regex for line_breaker in props.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-regex-for-line-breaker-in-props-conf/m-p/568572#M198154</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/69461"&gt;@mbachhav&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please can you remove the line_breaker and add this option as told you&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;BREAK_ONLY_BEFORE=\&amp;lt;DETECTION\&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let me know if works&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 15:39:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-regex-for-line-breaker-in-props-conf/m-p/568572#M198154</guid>
      <dc:creator>aasabatini</dc:creator>
      <dc:date>2021-09-27T15:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with a regex for line_breaker in props.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-regex-for-line-breaker-in-props-conf/m-p/568575#M198156</link>
      <description>&lt;P&gt;Apologies. First I tried with&amp;nbsp;BREAK_ONLY_BEFORE=\&amp;lt;DETECTION\&amp;gt; but it didn't work hence I tried&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;line_breaker.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 15:43:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-regex-for-line-breaker-in-props-conf/m-p/568575#M198156</guid>
      <dc:creator>mbachhav</dc:creator>
      <dc:date>2021-09-27T15:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with a regex for line_breaker in props.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-regex-for-line-breaker-in-props-conf/m-p/569645#M198544</link>
      <description>&lt;P&gt;Problem has been solved with below stanza -&amp;nbsp;&lt;/P&gt;&lt;P&gt;[stanza name]&lt;/P&gt;&lt;P&gt;TIMESTAMP_FIELDS=dateTime&lt;BR /&gt;&lt;STRONG&gt;LINE_BREAKER=(\&amp;lt;DETECTION\s)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;SHOULD_LINEMERGE=true&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;NO_BINARY_CHECK=true&lt;/STRONG&gt;&lt;BR /&gt;TZ=UTC&lt;BR /&gt;CHARSET=UTF-8&lt;BR /&gt;KV_MODE=xml&lt;BR /&gt;MAX_EVENTS=50000&lt;BR /&gt;TIME_FORMAT=%Y-%m-%dT%H:%M:%SZ&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 07:30:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-with-a-regex-for-line-breaker-in-props-conf/m-p/569645#M198544</guid>
      <dc:creator>mbachhav</dc:creator>
      <dc:date>2021-10-05T07:30:16Z</dc:date>
    </item>
  </channel>
</rss>

