<?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 remove multiple logs into single event in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-multiple-logs-into-single-event/m-p/500574#M85304</link>
    <description>&lt;P&gt;HI duggp007,&lt;BR /&gt;
surely you have to review your parsing.&lt;BR /&gt;
To do this I suggest to take an extract of your logs with all the kind of logs in the same sourcetype (e.g. tomcat) in a text file.&lt;BR /&gt;
Then ingest it for test using the guided procedure in web interface [Settings -- Add Data] so you can find the correct options yo use for thst sourcetype.&lt;BR /&gt;
Probably is uncorrect the &lt;CODE&gt;TIME_PREFIX&lt;/CODE&gt; and/or the &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt;, so, sometimes, Splunk cannot recognize the start of an event and doesn't correctly break it.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Fri, 11 Oct 2019 10:00:24 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2019-10-11T10:00:24Z</dc:date>
    <item>
      <title>how to remove multiple logs into single event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-multiple-logs-into-single-event/m-p/500572#M85302</link>
      <description>&lt;P&gt;[tomcat]&lt;BR /&gt;
EXTRACT = \/u01\/logs-(?\w+)\/.* in source&lt;/P&gt;

&lt;H3&gt;Adding the below to BREAK EVENTS only at timestamp and TRUNCATING issue&lt;/H3&gt;

&lt;P&gt;BREAK_ONLY_BEFORE = (\d+[- :,-w]+) &lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 30&lt;BR /&gt;
TRUNCATE = 0&lt;/P&gt;

&lt;P&gt;We are facing an issue with multiple logs in a single event for only tomcat as the sourcetype,&lt;/P&gt;

&lt;P&gt;May I know the reason for it.&lt;BR /&gt;
we also have &lt;BR /&gt;
SHOULD_LINEMERGE=true for other sourcetype should I include SHOULD_LINEMERGE=false for the tomcat.&lt;/P&gt;

&lt;P&gt;Any help will be appreciated. &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:31:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-multiple-logs-into-single-event/m-p/500572#M85302</guid>
      <dc:creator>duggp007</dc:creator>
      <dc:date>2020-09-30T02:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove multiple logs into single event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-multiple-logs-into-single-event/m-p/500573#M85303</link>
      <description>&lt;P&gt;Your line breaking settings in props.conf are wrong.  We'll need to see some sample data to give the best settings.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 20:32:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-multiple-logs-into-single-event/m-p/500573#M85303</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-10-10T20:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove multiple logs into single event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-multiple-logs-into-single-event/m-p/500574#M85304</link>
      <description>&lt;P&gt;HI duggp007,&lt;BR /&gt;
surely you have to review your parsing.&lt;BR /&gt;
To do this I suggest to take an extract of your logs with all the kind of logs in the same sourcetype (e.g. tomcat) in a text file.&lt;BR /&gt;
Then ingest it for test using the guided procedure in web interface [Settings -- Add Data] so you can find the correct options yo use for thst sourcetype.&lt;BR /&gt;
Probably is uncorrect the &lt;CODE&gt;TIME_PREFIX&lt;/CODE&gt; and/or the &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt;, so, sometimes, Splunk cannot recognize the start of an event and doesn't correctly break it.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 10:00:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-multiple-logs-into-single-event/m-p/500574#M85304</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-10-11T10:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove multiple logs into single event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-multiple-logs-into-single-event/m-p/500575#M85305</link>
      <description>&lt;P&gt;You should always avoid the &lt;CODE&gt;BREAK_*&lt;/CODE&gt; settings and use only &lt;CODE&gt;SHOULD_LINEMERGE=false&lt;/CODE&gt; and &lt;CODE&gt;LINE_BREAKER = Your RegEx Here&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Oct 2019 08:59:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-remove-multiple-logs-into-single-event/m-p/500575#M85305</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-10-13T08:59:35Z</dc:date>
    </item>
  </channel>
</rss>

