<?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: Splunk Add-on for JBoss: Why is Splunk combining log entries into one log entry? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-JBoss-Why-is-Splunk-combining-log-entries-into/m-p/309537#M37013</link>
    <description>&lt;P&gt;It sounds like your events are not correctly line breaking. Can you go to &lt;CODE&gt;$SPLUNK_HOME/etc/apps/&amp;lt;JBOSS_APP&amp;gt;/local&lt;/CODE&gt; and paste the contents of your &lt;CODE&gt;props.conf&lt;/CODE&gt;? You should also provide a small set of sample data.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jul 2017 15:58:51 GMT</pubDate>
    <dc:creator>skoelpin</dc:creator>
    <dc:date>2017-07-11T15:58:51Z</dc:date>
    <item>
      <title>Splunk Add-on for JBoss: Why is Splunk combining log entries into one log entry?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-JBoss-Why-is-Splunk-combining-log-entries-into/m-p/309536#M37012</link>
      <description>&lt;P&gt;We are importing logs from a JBoss server (with Splunk Add-on for JBoss installed), and we are noticing that there are several instances where there a few log entries combined into one log entry in Splunk. What would be causing this and how do I fix it? Is this a Splunk issue or an add-on issue?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 15:56:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-JBoss-Why-is-Splunk-combining-log-entries-into/m-p/309536#M37012</guid>
      <dc:creator>cboillot</dc:creator>
      <dc:date>2017-07-11T15:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for JBoss: Why is Splunk combining log entries into one log entry?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-JBoss-Why-is-Splunk-combining-log-entries-into/m-p/309537#M37013</link>
      <description>&lt;P&gt;It sounds like your events are not correctly line breaking. Can you go to &lt;CODE&gt;$SPLUNK_HOME/etc/apps/&amp;lt;JBOSS_APP&amp;gt;/local&lt;/CODE&gt; and paste the contents of your &lt;CODE&gt;props.conf&lt;/CODE&gt;? You should also provide a small set of sample data.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 15:58:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-JBoss-Why-is-Splunk-combining-log-entries-into/m-p/309537#M37013</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2017-07-11T15:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for JBoss: Why is Splunk combining log entries into one log entry?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-JBoss-Why-is-Splunk-combining-log-entries-into/m-p/309538#M37014</link>
      <description>&lt;P&gt;Um... I am not seeing a &lt;CODE&gt;props.conf&lt;/CODE&gt; file.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 16:53:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-JBoss-Why-is-Splunk-combining-log-entries-into/m-p/309538#M37014</guid>
      <dc:creator>cboillot</dc:creator>
      <dc:date>2017-07-11T16:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for JBoss: Why is Splunk combining log entries into one log entry?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-JBoss-Why-is-Splunk-combining-log-entries-into/m-p/309539#M37015</link>
      <description>&lt;P&gt;I ran into the same problem, so I figured I'd post my fix here.  Skoelpin was right about the line breaking problem.  The line breaking and field extraction in the default props.conf doesn't work correctly (at least with my version of jboss).  It's expecting a time field without a date, but my jboss logs had both date and time at the beginning of each line.&lt;/P&gt;

&lt;P&gt;Here's the format in my logs: 2018-03-29 16:20:31,058&lt;/P&gt;

&lt;P&gt;To fix it, put the following in $SPLUNK_HOME/etc/apps//local/props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[jboss:server:log]
EXTRACT-server = ^\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2},\d{3}\s+(?P&amp;lt;log_level&amp;gt;\w+)\s+\[(?P&amp;lt;event_category&amp;gt;[\-\.\w$]+)\]\s(?P&amp;lt;message&amp;gt;[\s\S]+)$
BREAK_ONLY_BEFORE = ^\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2},\d{3}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 29 Mar 2018 20:23:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-JBoss-Why-is-Splunk-combining-log-entries-into/m-p/309539#M37015</guid>
      <dc:creator>rmills1</dc:creator>
      <dc:date>2018-03-29T20:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for JBoss: Why is Splunk combining log entries into one log entry?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-JBoss-Why-is-Splunk-combining-log-entries-into/m-p/309540#M37016</link>
      <description>&lt;P&gt;I noticed I accidentally hit the quote button instead of the code button, so the prop.conf lines were incorrect.  Fixed to show correctly.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2018 18:52:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-JBoss-Why-is-Splunk-combining-log-entries-into/m-p/309540#M37016</guid>
      <dc:creator>rmills1</dc:creator>
      <dc:date>2018-04-02T18:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for JBoss: Why is Splunk combining log entries into one log entry?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-JBoss-Why-is-Splunk-combining-log-entries-into/m-p/309541#M37017</link>
      <description>&lt;P&gt;Your on the right track, but &lt;CODE&gt;LINE_BREAKER&lt;/CODE&gt; is a better attribute than &lt;CODE&gt;BREAK_ONLY_BEFORE&lt;/CODE&gt; and you should also set &lt;CODE&gt;SHOULD_LINEMERGE=false&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2018 18:56:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-JBoss-Why-is-Splunk-combining-log-entries-into/m-p/309541#M37017</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2018-04-02T18:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for JBoss: Why is Splunk combining log entries into one log entry?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-JBoss-Why-is-Splunk-combining-log-entries-into/m-p/309542#M37018</link>
      <description>&lt;P&gt;I based the attributes I used on the ones in the default props.conf.  I wanted to modify it as little as possible.  However, I might look into those attributes in addition.&lt;/P&gt;

&lt;P&gt;Here's the default props.conf from the add-on:&lt;BR /&gt;
[jboss:server:log]&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 32&lt;/P&gt;

&lt;H1&gt;01:59:41,057&lt;/H1&gt;

&lt;P&gt;EXTRACT-server = ^\d{2}:\d{2}:\d{2},\d{3}\s+(?P\w+)\s+[(?P[-.\w$]+)]\s((?P.+?))\s(?P[\s\S]+)$&lt;BR /&gt;
BREAK_ONLY_BEFORE = ^\d{2}:\d{2}:\d{2},\d{3}&lt;BR /&gt;
LOOKUP-severity_name = jboss_severity_lookup log_level OUTPUT severity&lt;BR /&gt;
FIELDALIAS-body = message AS body&lt;/P&gt;

&lt;H1&gt;FIELDALIAS-subject = event_category AS subject&lt;/H1&gt;

&lt;P&gt;EVAL-app = "JBoss"&lt;/P&gt;

&lt;P&gt;EDIT: The code block is apparently not working for me in comments section...ugg&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:50:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-JBoss-Why-is-Splunk-combining-log-entries-into/m-p/309542#M37018</guid>
      <dc:creator>rmills1</dc:creator>
      <dc:date>2020-09-29T18:50:49Z</dc:date>
    </item>
  </channel>
</rss>

