<?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: Single events are combined into multi-line events in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Single-events-are-combined-into-multi-line-events/m-p/23950#M3767</link>
    <description>&lt;P&gt;Probably an issue with the timestamps.  See if this helps:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# props.conf
[my_sourcetype]
SHOULD_LINEMERGE = false
TIME_FORMAT = %H:%M:%S,%n
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 07 Jun 2011 13:49:45 GMT</pubDate>
    <dc:creator>mw</dc:creator>
    <dc:date>2011-06-07T13:49:45Z</dc:date>
    <item>
      <title>Single events are combined into multi-line events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Single-events-are-combined-into-multi-line-events/m-p/23949#M3766</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have a log file that is being indexed and many of the lines show up combined into multi-line events however there seems to be no logic behind the combining.  Each line has a timestamp yet they are being combined regardless.  I have no props.conf in this config - therefore I assume default line merging is in effect.&lt;/P&gt;

&lt;H2&gt;Example log data:&lt;/H2&gt;

&lt;P&gt;08:26:53,465 WARN  [com.sap.ca.alfresco.base.repo.importer.SapImporterBootstrap] Skiping bootstrap&lt;/P&gt;

&lt;P&gt;08:26:53,561 WARN  [com.sap.ca.alfresco.base.repo.importer.SapImporterBootstrap] Skiping bootstrap&lt;/P&gt;

&lt;P&gt;08:26:53,699 WARN  [com.sap.ca.alfresco.base.repo.importer.SapImporterBootstrap] Skiping bootstrap&lt;/P&gt;

&lt;P&gt;08:26:53,765 WARN  [com.sap.ca.alfresco.base.repo.importer.SapImporterBootstrap] Skiping bootstrap&lt;/P&gt;

&lt;P&gt;08:26:59,234 WARN  [org.alfresco.repo.cache.TransactionalCache.org.alfresco.cache.avmNodeTransactionalCache] Transactional update cache 'org.alfresco.cache.avmNodeTransactionalCache' is full (5000).&lt;/P&gt;

&lt;P&gt;08:27:05,532 WARN  [org.alfresco.repo.cache.TransactionalCache.org.alfresco.cache.contentDataTransactionalCache] Transactional update cache 'org.alfresco.cache.contentDataTransactionalCache' is full (1000).&lt;/P&gt;

&lt;P&gt;08:27:23,223 WARN  [com.sap.ca.alfresco.base.repo.importer.SapImporterBootstrap] Skiping bootstrap&lt;/P&gt;

&lt;P&gt;08:27:23,961 WARN  [com.sap.ca.alfresco.base.repo.importer.SapImporterBootstrap] Skiping bootstrap&lt;/P&gt;

&lt;P&gt;08:27:23,962 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]&lt;/P&gt;

&lt;P&gt;08:27:23,988 INFO  [org.alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]&lt;/P&gt;

&lt;H2&gt;Result&lt;/H2&gt;

&lt;P&gt;The result is some of the lines are combined to multi-line and some are not but I cannot distinguish what is causing the combining/breaking.&lt;/P&gt;

&lt;H2&gt;Question&lt;/H2&gt;

&lt;P&gt;Is it possible to configure a regex to recognize the timestamp on the new line and then use props.conf to further configure the line breaking?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
John&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2011 13:32:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Single-events-are-combined-into-multi-line-events/m-p/23949#M3766</guid>
      <dc:creator>frankejj</dc:creator>
      <dc:date>2011-06-07T13:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Single events are combined into multi-line events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Single-events-are-combined-into-multi-line-events/m-p/23950#M3767</link>
      <description>&lt;P&gt;Probably an issue with the timestamps.  See if this helps:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# props.conf
[my_sourcetype]
SHOULD_LINEMERGE = false
TIME_FORMAT = %H:%M:%S,%n
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Jun 2011 13:49:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Single-events-are-combined-into-multi-line-events/m-p/23950#M3767</guid>
      <dc:creator>mw</dc:creator>
      <dc:date>2011-06-07T13:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Single events are combined into multi-line events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Single-events-are-combined-into-multi-line-events/m-p/23951#M3768</link>
      <description>&lt;P&gt;Thanks!  Setting the time format did the trick.  I did not change line merge to false because there are also many multi-line entries in these logs.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2011 11:42:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Single-events-are-combined-into-multi-line-events/m-p/23951#M3768</guid>
      <dc:creator>frankejj</dc:creator>
      <dc:date>2011-06-13T11:42:28Z</dc:date>
    </item>
  </channel>
</rss>

