<?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 Why is LINE_BREAKER not working? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-LINE-BREAKER-not-working/m-p/597458#M104310</link>
    <description>&lt;P&gt;I'm having some issues getting my LINE_BREAKER configuration to work for a custom log file. I've tested the RegEx and it matches the beginning of every line, however it's still breaking extremely strangely. Here's the configuration we're running as well as a sample of the log.&lt;/P&gt;
&lt;P&gt;The screenshot at the bottom is what it's actually doing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;MAX_TIMESTAMP_LOOKAHEAD = 20
TIME_FORMAT = %Y-%m-%d_%I%M %p
TIME_PREFIX = ^
TZ = MST
SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)\d{4}-\d{2}-\d{2}_\d{4} [A|P]M[\s\r\n]+\d{2}


---


2022-05-10_1120 AM 
10.12.14.3 
HSM device 0:	HSM in NORMAL MODE. RESPONDING. Usage Level=0%
2022-05-10_1120 AM 
10.12.14.4 
HSM device 0:	HSM in NORMAL MODE. RESPONDING. Usage Level=0%
2022-05-10_1120 AM 
10.12.14.5 
HSM device 0:	HSM in NORMAL MODE. RESPONDING. Usage Level=0%
2022-05-10_1120 AM 
10.12.14.81 
HSM device 0:	HSM in NORMAL MODE. RESPONDING. Usage Level=58%
2022-05-10_1120 AM 
10.12.14.82 
HSM device 0:	HSM in NORMAL MODE. RESPONDING. Usage Level=73%
2022-05-10_1120 AM 
10.12.14.88 
HSM device 0:	HSM in NORMAL MODE. RESPONDING. Usage Level=0%
2022-05-10_1120 AM 
10.12.14.91 
HSM device 0:	HSM in NORMAL MODE. RESPONDING. Usage Level=0%&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fitzgej_entrust_0-1652291880535.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19590iD6A40E09B5FDD38C/image-size/large?v=v2&amp;amp;px=999" role="button" title="fitzgej_entrust_0-1652291880535.png" alt="fitzgej_entrust_0-1652291880535.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 May 2022 20:25:14 GMT</pubDate>
    <dc:creator>fitzgej_entrust</dc:creator>
    <dc:date>2022-05-11T20:25:14Z</dc:date>
    <item>
      <title>Why is LINE_BREAKER not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-LINE-BREAKER-not-working/m-p/597458#M104310</link>
      <description>&lt;P&gt;I'm having some issues getting my LINE_BREAKER configuration to work for a custom log file. I've tested the RegEx and it matches the beginning of every line, however it's still breaking extremely strangely. Here's the configuration we're running as well as a sample of the log.&lt;/P&gt;
&lt;P&gt;The screenshot at the bottom is what it's actually doing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;MAX_TIMESTAMP_LOOKAHEAD = 20
TIME_FORMAT = %Y-%m-%d_%I%M %p
TIME_PREFIX = ^
TZ = MST
SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)\d{4}-\d{2}-\d{2}_\d{4} [A|P]M[\s\r\n]+\d{2}


---


2022-05-10_1120 AM 
10.12.14.3 
HSM device 0:	HSM in NORMAL MODE. RESPONDING. Usage Level=0%
2022-05-10_1120 AM 
10.12.14.4 
HSM device 0:	HSM in NORMAL MODE. RESPONDING. Usage Level=0%
2022-05-10_1120 AM 
10.12.14.5 
HSM device 0:	HSM in NORMAL MODE. RESPONDING. Usage Level=0%
2022-05-10_1120 AM 
10.12.14.81 
HSM device 0:	HSM in NORMAL MODE. RESPONDING. Usage Level=58%
2022-05-10_1120 AM 
10.12.14.82 
HSM device 0:	HSM in NORMAL MODE. RESPONDING. Usage Level=73%
2022-05-10_1120 AM 
10.12.14.88 
HSM device 0:	HSM in NORMAL MODE. RESPONDING. Usage Level=0%
2022-05-10_1120 AM 
10.12.14.91 
HSM device 0:	HSM in NORMAL MODE. RESPONDING. Usage Level=0%&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fitzgej_entrust_0-1652291880535.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19590iD6A40E09B5FDD38C/image-size/large?v=v2&amp;amp;px=999" role="button" title="fitzgej_entrust_0-1652291880535.png" alt="fitzgej_entrust_0-1652291880535.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 20:25:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-LINE-BREAKER-not-working/m-p/597458#M104310</guid>
      <dc:creator>fitzgej_entrust</dc:creator>
      <dc:date>2022-05-11T20:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: LINE_BREAKER Not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-LINE-BREAKER-not-working/m-p/597461#M104311</link>
      <description>&lt;P&gt;Give this a try&lt;/P&gt;&lt;P&gt;On your indexer/heavy forwarder (whichever comes first)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[yourSourceType]
SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)(?=\d{4}-\d{2}-\d{2}_\d{4} [A|P]M)
MAX_TIMESTAMP_LOOKAHEAD = 18
TIME_FORMAT = %Y-%m-%d_%I%M %p
TIME_PREFIX = ^
TZ = MST&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 11 May 2022 18:12:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-LINE-BREAKER-not-working/m-p/597461#M104311</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2022-05-11T18:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: LINE_BREAKER Not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-LINE-BREAKER-not-working/m-p/597479#M104312</link>
      <description>&lt;P&gt;...I can not believe I was trying to run that on the Universal forwarder. Worked like a charm, and thank you for the catch there.&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 20:40:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-LINE-BREAKER-not-working/m-p/597479#M104312</guid>
      <dc:creator>fitzgej_entrust</dc:creator>
      <dc:date>2022-05-11T20:40:08Z</dc:date>
    </item>
  </channel>
</rss>

