<?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: Line Breaking without removing field in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-without-removing-field/m-p/573125#M101376</link>
    <description>&lt;P&gt;What if my BREAK_ONLY_BEFORE=##################################################################|(pg-2 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)|(ss7-2 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)|(ss7-1 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)|(da-1 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)|(da-2 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)|(fs-3 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)|(fs-2 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)|(fs-1 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)|(om-1 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)|(pg-1 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)|(om-2 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)|(mms-1 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)|(mms-2 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)&lt;/P&gt;&lt;P&gt;How do I break it into another event but still keep the regex in the event. I dont want to remove it. This is the sample raw data. I dont want to remove the top line. But I want to break just before the top line.&lt;/P&gt;&lt;P&gt;pg-2 | CHANGED | rc=0 &amp;gt;&amp;gt;&lt;BR /&gt;Filesystem Size Used Avail Use% Mounted on&lt;BR /&gt;devtmpfs 16G 4.0K 16G 1% /dev&lt;BR /&gt;tmpfs 16G 32K 16G 1% /dev/shm&lt;BR /&gt;tmpfs 16G 1.6G 15G 11% /run&lt;BR /&gt;tmpfs 16G 0 16G 0% /sys/fs/cgroup&lt;BR /&gt;/dev/vda2 160G 8.4G 152G 6% /&lt;BR /&gt;tmpfs 3.0G 168K 3.0G 1% /tmp&lt;/P&gt;</description>
    <pubDate>Mon, 01 Nov 2021 07:02:19 GMT</pubDate>
    <dc:creator>Azwaliyana</dc:creator>
    <dc:date>2021-11-01T07:02:19Z</dc:date>
    <item>
      <title>Line Breaking without removing field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-without-removing-field/m-p/473844#M81364</link>
      <description>&lt;P&gt;In my props.conf, I have LINE_BREAKER=field1 this breaks the events how I want but it removes field1  from every event. Is there any way to keep field1 in my events but still break events after it occurs?&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2020 14:31:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-without-removing-field/m-p/473844#M81364</guid>
      <dc:creator>willcwhite</dc:creator>
      <dc:date>2020-04-08T14:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Line Breaking without removing field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-without-removing-field/m-p/473845#M81365</link>
      <description>&lt;P&gt;The &lt;CODE&gt;LINE_BREAKER&lt;/CODE&gt; setting breaks events at the first capture group in the regex and discards that regex.  To avoid discarding important data, use an empty capture group.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;LINE_BREAKER = field1()
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Apr 2020 14:53:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-without-removing-field/m-p/473845#M81365</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-04-08T14:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Line Breaking without removing field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-without-removing-field/m-p/573125#M101376</link>
      <description>&lt;P&gt;What if my BREAK_ONLY_BEFORE=##################################################################|(pg-2 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)|(ss7-2 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)|(ss7-1 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)|(da-1 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)|(da-2 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)|(fs-3 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)|(fs-2 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)|(fs-1 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)|(om-1 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)|(pg-1 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)|(om-2 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)|(mms-1 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)|(mms-2 \| [a-zA-Z0-9._%-]* \| rc=0 &amp;gt;&amp;gt;)&lt;/P&gt;&lt;P&gt;How do I break it into another event but still keep the regex in the event. I dont want to remove it. This is the sample raw data. I dont want to remove the top line. But I want to break just before the top line.&lt;/P&gt;&lt;P&gt;pg-2 | CHANGED | rc=0 &amp;gt;&amp;gt;&lt;BR /&gt;Filesystem Size Used Avail Use% Mounted on&lt;BR /&gt;devtmpfs 16G 4.0K 16G 1% /dev&lt;BR /&gt;tmpfs 16G 32K 16G 1% /dev/shm&lt;BR /&gt;tmpfs 16G 1.6G 15G 11% /run&lt;BR /&gt;tmpfs 16G 0 16G 0% /sys/fs/cgroup&lt;BR /&gt;/dev/vda2 160G 8.4G 152G 6% /&lt;BR /&gt;tmpfs 3.0G 168K 3.0G 1% /tmp&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 07:02:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-without-removing-field/m-p/573125#M101376</guid>
      <dc:creator>Azwaliyana</dc:creator>
      <dc:date>2021-11-01T07:02:19Z</dc:date>
    </item>
  </channel>
</rss>

