<?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: Need help with line-breaking app.log in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-line-breaking-app-log/m-p/487534#M83466</link>
    <description>&lt;P&gt;Do the raw events arrive in multiple lines or a single line?  Can you share raw data?&lt;/P&gt;</description>
    <pubDate>Wed, 18 Sep 2019 14:27:04 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2019-09-18T14:27:04Z</dc:date>
    <item>
      <title>Need help with line-breaking app.log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-line-breaking-app-log/m-p/487533#M83465</link>
      <description>&lt;P&gt;Have a feed coming in from App.logs, which I can't get to line-break properly.&lt;/P&gt;

&lt;P&gt;Props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mq_error_logs]
CHARSET=UTF-8
MAX_TIMESTAMP_LOOKAHEAD=30
SHOULD_LINEMERGE=true
TIME_PREFIX=^
category=Application
disabled=false
pulldown_type=true
TIME_FORMAT= %m/%d/%Y %T
BREAK_ONLY_BEFORE_DATE = true 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Actual result  should look like this&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;Sample output breaks this:&lt;/P&gt;

&lt;P&gt;9/18/2019 08:23:40 - Process(3504.7) User(MQSeriesQM) Program(amqbob0.exe)&lt;BR /&gt;
                      Host(BOB002) Installation(Installation1)&lt;BR /&gt;
                      VRMF(9.1.0.2) QMgr(BOB1QM)&lt;BR /&gt;
                      Time(2019-09-18T13:23:40.175Z)&lt;BR /&gt;
                      CommentInsert1(BOB1QM)&lt;BR /&gt;
                      CommentInsert2(S0002430.LOG)&lt;/P&gt;

&lt;P&gt;AMQ7467I: The oldest log file required to start queue manager BOB1QM is&lt;BR /&gt;
S0002430.LOG.&lt;BR /&gt;
EXPLANATION:&lt;BR /&gt;
The log file S0002430.LOG contains the oldest log record required to restart&lt;BR /&gt;
the queue manager. Log records older than this may be required for media&lt;BR /&gt;
recovery.&lt;BR /&gt;
ACTION:&lt;BR /&gt;
You can move log files older than S0002430.LOG to an archive medium to release&lt;BR /&gt;
space in the log directory. If you move any of the log files required to&lt;BR /&gt;
recreate objects from their media images, you will have to restore them to&lt;BR /&gt;
recreate the objects. An older log file is one with a numerically smaller log&lt;BR /&gt;
number (but allowing for log number wrapping at 9999999). &lt;BR /&gt;
----- amqBOBp0.c : 586 --------------------------------------------------------&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;But ending with this&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;into two sections:&lt;BR /&gt;
Section1&lt;BR /&gt;
9/18/2019 08:23:40 - Process(3504.7) User(MQSeriesQM) Program(amqbob0.exe)&lt;BR /&gt;
                      Host(BOB002) Installation(Installation1)&lt;BR /&gt;
                      VRMF(9.1.0.2) QMgr(BOB1QM)&lt;/P&gt;

&lt;P&gt;Section2&lt;BR /&gt;
                      Time(2019-09-18T13:23:40.175Z)&lt;BR /&gt;
                      CommentInsert1(BOB1QM)&lt;BR /&gt;
                      CommentInsert2(S0002430.LOG)&lt;/P&gt;

&lt;P&gt;AM**67I: The oldest log file required to start queue manager BOB1QM is&lt;BR /&gt;
S0002430.LOG.&lt;BR /&gt;
EXPLANATION:&lt;BR /&gt;
The log file S0002430.LOG contains the oldest log record required to restart&lt;BR /&gt;
the queue manager. Log records older than this may be required for media&lt;BR /&gt;
recovery.&lt;BR /&gt;
ACTION:&lt;BR /&gt;
You can move log files older than S0002430.LOG to an archive medium to release&lt;BR /&gt;
space in the log directory. If you move any of the log files required to&lt;BR /&gt;
recreate objects from their media images, you will have to restore them to&lt;BR /&gt;
recreate the objects. An older log file is one with a numerically smaller log&lt;BR /&gt;
number (but allowing for log number wrapping at 9999999). &lt;BR /&gt;
----- amqBOBp0.c : 586 --------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 14:07:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-line-breaking-app-log/m-p/487533#M83465</guid>
      <dc:creator>ani3223</dc:creator>
      <dc:date>2019-09-18T14:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with line-breaking app.log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-line-breaking-app-log/m-p/487534#M83466</link>
      <description>&lt;P&gt;Do the raw events arrive in multiple lines or a single line?  Can you share raw data?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 14:27:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-line-breaking-app-log/m-p/487534#M83466</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-09-18T14:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with line-breaking app.log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-line-breaking-app-log/m-p/487535#M83467</link>
      <description>&lt;P&gt;Yes,  raw events arrive in multiple lines&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 14:51:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-line-breaking-app-log/m-p/487535#M83467</guid>
      <dc:creator>ani3223</dc:creator>
      <dc:date>2019-09-18T14:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with line-breaking app.log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-line-breaking-app-log/m-p/487536#M83468</link>
      <description>&lt;P&gt;Use line breaker and also set should_linemerge set to false.&lt;/P&gt;

&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mq_error_logs]
CHARSET = UTF-8
category = Application
disabled = false
pulldown_type = true
TIME_PREFIX = ^
TIME_FORMAT = %m/%d/%Y %T
SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)(\d+\/\d+\/\d+\s+\d+\:\d+\:\d+)
MAX_TIMESTAMP_LOOKAHEAD = 20
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 18 Sep 2019 20:06:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-line-breaking-app-log/m-p/487536#M83468</guid>
      <dc:creator>zacharychristen</dc:creator>
      <dc:date>2019-09-18T20:06:29Z</dc:date>
    </item>
  </channel>
</rss>

