<?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 How to split single line event into multiple events based on pattern? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-split-single-line-event-into-multiple-events-based-on/m-p/135983#M27995</link>
    <description>&lt;P&gt;Is it possible to split a single line event into multiple based on a pattern?  Ex. I have:&lt;/P&gt;

&lt;P&gt;SNMPv2-SMI::enterprises."4551.5.1.1.1.1.4.8.4.1.6.1.1" = "4.168961" SNMPv2-SMI::enterprises."4551.5.1.1.1.1.4.8.4.1.9.1.1" = "1"&lt;/P&gt;

&lt;P&gt;on one line and want to split it into two SNMP events.  I have been testing with LINE_BREAKER and BREAK_ONLY_BEFORE in props.conf but not having any luck.  Have tried the below (one at a time):&lt;/P&gt;

&lt;P&gt;BREAK_ONLY_BEFORE = SNMPv2&lt;/P&gt;

&lt;P&gt;LINE_BREAKER = ([\r\n]+)|SNMPv2&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 17:01:37 GMT</pubDate>
    <dc:creator>flucman</dc:creator>
    <dc:date>2020-09-28T17:01:37Z</dc:date>
    <item>
      <title>How to split single line event into multiple events based on pattern?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-split-single-line-event-into-multiple-events-based-on/m-p/135983#M27995</link>
      <description>&lt;P&gt;Is it possible to split a single line event into multiple based on a pattern?  Ex. I have:&lt;/P&gt;

&lt;P&gt;SNMPv2-SMI::enterprises."4551.5.1.1.1.1.4.8.4.1.6.1.1" = "4.168961" SNMPv2-SMI::enterprises."4551.5.1.1.1.1.4.8.4.1.9.1.1" = "1"&lt;/P&gt;

&lt;P&gt;on one line and want to split it into two SNMP events.  I have been testing with LINE_BREAKER and BREAK_ONLY_BEFORE in props.conf but not having any luck.  Have tried the below (one at a time):&lt;/P&gt;

&lt;P&gt;BREAK_ONLY_BEFORE = SNMPv2&lt;/P&gt;

&lt;P&gt;LINE_BREAKER = ([\r\n]+)|SNMPv2&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:01:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-split-single-line-event-into-multiple-events-based-on/m-p/135983#M27995</guid>
      <dc:creator>flucman</dc:creator>
      <dc:date>2020-09-28T17:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to split single line event into multiple events based on pattern?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-split-single-line-event-into-multiple-events-based-on/m-p/135984#M27996</link>
      <description>&lt;P&gt;Something along the lines of this will cause it the see the string as your line breaker and appears to break the events up, with the side effect of disposing of the line breaker text:&lt;/P&gt;

&lt;P&gt;LINE_BREAKER=(SNMPv2-SMI)&lt;BR /&gt;
NO_BINARY_CHECK=1&lt;BR /&gt;
SHOULD_LINEMERGE=false&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:01:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-split-single-line-event-into-multiple-events-based-on/m-p/135984#M27996</guid>
      <dc:creator>chanfoli</dc:creator>
      <dc:date>2020-09-28T17:01:42Z</dc:date>
    </item>
  </channel>
</rss>

