<?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 break the events using regex? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-break-the-events-using-regex/m-p/373049#M109735</link>
    <description>&lt;P&gt;Hi Somesoni,&lt;BR /&gt;
I have the same problem in splitting the events, I tried your above answer but it is not working.&lt;/P&gt;

&lt;P&gt;Here is my requirement,  I want to split the log in to multiple events based on the delimiter "========" . So that i will get 3 events in splunk&lt;BR /&gt;
abc&lt;BR /&gt;
text file: 123&lt;BR /&gt;
name: 235&lt;/P&gt;

&lt;H1&gt;list: 6363&lt;/H1&gt;

&lt;P&gt;dfdf&lt;BR /&gt;
text file: df&lt;BR /&gt;
name: ggg&lt;/P&gt;

&lt;H1&gt;list: fdgdfg&lt;/H1&gt;

&lt;P&gt;cds&lt;BR /&gt;
text file: 1fd3&lt;BR /&gt;
name: ff35&lt;/P&gt;

&lt;H1&gt;list: 6sd&lt;/H1&gt;</description>
    <pubDate>Fri, 22 Sep 2017 06:31:27 GMT</pubDate>
    <dc:creator>senthamilselvan</dc:creator>
    <dc:date>2017-09-22T06:31:27Z</dc:date>
    <item>
      <title>How to break the events using regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-break-the-events-using-regex/m-p/373045#M109731</link>
      <description>&lt;P&gt;Hi I have the text file with below sample data I have to break the events using &lt;BR /&gt;
"-------------------------" as event break&lt;/P&gt;

&lt;P&gt;abc&lt;/P&gt;

&lt;P&gt;text file: 123&lt;BR /&gt;
name: 235&lt;BR /&gt;
list: 6363&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;dfdf&lt;/P&gt;

&lt;P&gt;text file: df&lt;BR /&gt;
name: ggg&lt;BR /&gt;
list: fdgdfg&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;abc&lt;/P&gt;

&lt;P&gt;text file: 123&lt;BR /&gt;
name: 235&lt;BR /&gt;
list: 6363&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;cds&lt;/P&gt;

&lt;P&gt;text file: 1fd3&lt;BR /&gt;
name: ff35&lt;BR /&gt;
list: 6sd&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 13:11:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-break-the-events-using-regex/m-p/373045#M109731</guid>
      <dc:creator>kiran331</dc:creator>
      <dc:date>2017-06-28T13:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to break the events using regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-break-the-events-using-regex/m-p/373046#M109732</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;P&gt;props.conf on indexer/heavy forwarder&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[yoursourcetype]
SHOULD_LINEMERGE=false
LINE_BREAKER=([\r\n]+)(?=\-+)
DATETIME_CONFIG=CURRENT
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Jun 2017 13:55:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-break-the-events-using-regex/m-p/373046#M109732</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-06-28T13:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to break the events using regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-break-the-events-using-regex/m-p/373047#M109733</link>
      <description>&lt;P&gt;Hi Somesoni, I Have "-------------------------" in the text &lt;/P&gt;

&lt;H2&gt; after each group details. I have to split the events after &lt;/H2&gt;</description>
      <pubDate>Wed, 28 Jun 2017 20:11:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-break-the-events-using-regex/m-p/373047#M109733</guid>
      <dc:creator>kiran331</dc:creator>
      <dc:date>2017-06-28T20:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to break the events using regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-break-the-events-using-regex/m-p/373048#M109734</link>
      <description>&lt;P&gt;I believe the above configuration should do that. Did you get a chance to test it (or share what failed if you've)?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 21:13:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-break-the-events-using-regex/m-p/373048#M109734</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-06-28T21:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to break the events using regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-break-the-events-using-regex/m-p/373049#M109735</link>
      <description>&lt;P&gt;Hi Somesoni,&lt;BR /&gt;
I have the same problem in splitting the events, I tried your above answer but it is not working.&lt;/P&gt;

&lt;P&gt;Here is my requirement,  I want to split the log in to multiple events based on the delimiter "========" . So that i will get 3 events in splunk&lt;BR /&gt;
abc&lt;BR /&gt;
text file: 123&lt;BR /&gt;
name: 235&lt;/P&gt;

&lt;H1&gt;list: 6363&lt;/H1&gt;

&lt;P&gt;dfdf&lt;BR /&gt;
text file: df&lt;BR /&gt;
name: ggg&lt;/P&gt;

&lt;H1&gt;list: fdgdfg&lt;/H1&gt;

&lt;P&gt;cds&lt;BR /&gt;
text file: 1fd3&lt;BR /&gt;
name: ff35&lt;/P&gt;

&lt;H1&gt;list: 6sd&lt;/H1&gt;</description>
      <pubDate>Fri, 22 Sep 2017 06:31:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-break-the-events-using-regex/m-p/373049#M109735</guid>
      <dc:creator>senthamilselvan</dc:creator>
      <dc:date>2017-09-22T06:31:27Z</dc:date>
    </item>
  </channel>
</rss>

