<?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 debug multi-line events not working in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-debug-multi-line-events-not-working/m-p/29595#M5089</link>
    <description>&lt;P&gt;I already have that configured. It works fine when read in via the file (or netcat). I'm not sure if it's something on the syslog of the app server or not. We have production systems that seem to be able to work fine with the settings I have. This is what I have in my config:&lt;/P&gt;

&lt;P&gt;[source::udp:55514]&lt;BR /&gt;
BREAK_ONLY_BEFORE =&lt;BR /&gt;
BREAK_ONLY_BEFORE_DATE = true&lt;BR /&gt;
SHOULD_LINEMERGE = true&lt;BR /&gt;
TIME_FORMAT = %Y-%m-%d %H:%M:%S,%3N&lt;BR /&gt;
TIME_PREFIX = ^&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 25&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 14:32:09 GMT</pubDate>
    <dc:creator>jeffwarn</dc:creator>
    <dc:date>2020-09-28T14:32:09Z</dc:date>
    <item>
      <title>How to debug multi-line events not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-debug-multi-line-events-not-working/m-p/29593#M5087</link>
      <description>&lt;P&gt;I'm trying to determine why multiline events are not working when syslog sends the data over to my splunk indexer. The servers are setup to use log4j and send data to both the console (nfs) and syslog.&lt;/P&gt;

&lt;P&gt;I took the event from the console/nfs log and put it into a text file on the same system and used netcat to send the event to the splunk indexer and it worked just fine.&lt;/P&gt;

&lt;P&gt;Is there any way to determine what the problem is when the syslog server is sending the event? It's basically just creating single events for each line. &lt;/P&gt;

&lt;P&gt;Here the code multiline event:&lt;BR /&gt;
&lt;PRE&gt;&lt;/PRE&gt;&lt;/P&gt;

&lt;H2&gt;2013-08-08 16:20:28,845 [instance=testserver.i1] [tomcat-http--49] INFO  org.apache.cxf.interceptor.LoggingOutInterceptor (AbstractLoggingInterceptor.java:149) - Outbound Message&lt;/H2&gt;

&lt;P&gt;ID: 190&lt;BR /&gt;
Response-Code: 200&lt;BR /&gt;
Content-Type: application/xml&lt;BR /&gt;
Headers: {Date=[Thu, 08 Aug 2013 20:20:28 GMT]}&lt;BR /&gt;
Payload: &lt;SOMEKEY&gt;One line of data&lt;BR /&gt;
Another line of data&lt;BR /&gt;
data&lt;BR /&gt;
data&lt;BR /&gt;
data&lt;BR /&gt;
data&lt;BR /&gt;
data&lt;/SOMEKEY&gt;&lt;/P&gt;

&lt;H2&gt;&lt;/H2&gt;

&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2013 20:38:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-debug-multi-line-events-not-working/m-p/29593#M5087</guid>
      <dc:creator>jeffwarn</dc:creator>
      <dc:date>2013-08-08T20:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug multi-line events not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-debug-multi-line-events-not-working/m-p/29594#M5088</link>
      <description>&lt;P&gt;SHOULD_LINEMERGE = true&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2013 23:27:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-debug-multi-line-events-not-working/m-p/29594#M5088</guid>
      <dc:creator>davecroto</dc:creator>
      <dc:date>2013-08-08T23:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug multi-line events not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-debug-multi-line-events-not-working/m-p/29595#M5089</link>
      <description>&lt;P&gt;I already have that configured. It works fine when read in via the file (or netcat). I'm not sure if it's something on the syslog of the app server or not. We have production systems that seem to be able to work fine with the settings I have. This is what I have in my config:&lt;/P&gt;

&lt;P&gt;[source::udp:55514]&lt;BR /&gt;
BREAK_ONLY_BEFORE =&lt;BR /&gt;
BREAK_ONLY_BEFORE_DATE = true&lt;BR /&gt;
SHOULD_LINEMERGE = true&lt;BR /&gt;
TIME_FORMAT = %Y-%m-%d %H:%M:%S,%3N&lt;BR /&gt;
TIME_PREFIX = ^&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 25&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:32:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-debug-multi-line-events-not-working/m-p/29595#M5089</guid>
      <dc:creator>jeffwarn</dc:creator>
      <dc:date>2020-09-28T14:32:09Z</dc:date>
    </item>
  </channel>
</rss>

