<?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: line breaking issue, please help with props.com in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking-issue-please-help-with-props-com/m-p/253251#M96274</link>
    <description>&lt;P&gt;Change truncate = 100000 to truncate=250000&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2016 11:19:09 GMT</pubDate>
    <dc:creator>jkat54</dc:creator>
    <dc:date>2016-10-13T11:19:09Z</dc:date>
    <item>
      <title>line breaking issue, please help with props.com</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking-issue-please-help-with-props-com/m-p/253247#M96270</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;In our log, every new event starts with below pattern,&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Sunday 2016-10-09 12:02:46,047 [tomcat-http--9]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Currently line breaking is not happening correctlly.&lt;BR /&gt;
the props.conf on the indexer look like below,&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[ecapi_log4j_2]
TIME_FORMAT = %Y-%m-%d %H:%M:%S,%3N
MAX_TIMESTAMP_LOOKAHEAD = 26
SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)(?:\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2},\d{3})
TRUNCATE = 100000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can some one help to fix it please?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Simon Mandy&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 10:32:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking-issue-please-help-with-props-com/m-p/253247#M96270</guid>
      <dc:creator>sim_tcr</dc:creator>
      <dc:date>2016-10-13T10:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: line breaking issue, please help with props.com</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking-issue-please-help-with-props-com/m-p/253248#M96271</link>
      <description>&lt;P&gt;Can you try this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[ecapi_log4j_2]
TIME_PREFIX = \s
 TIME_FORMAT = %Y-%m-%d %H:%M:%S,%3N
 MAX_TIMESTAMP_LOOKAHEAD = 23
 SHOULD_LINEMERGE = false
 LINE_BREAKER = ([\r\n]+)([\w]+\s)(\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2},\d{3})
 TRUNCATE = 100000
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Oct 2016 10:45:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking-issue-please-help-with-props-com/m-p/253248#M96271</guid>
      <dc:creator>diogofgm</dc:creator>
      <dc:date>2016-10-13T10:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: line breaking issue, please help with props.com</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking-issue-please-help-with-props-com/m-p/253249#M96272</link>
      <description>&lt;P&gt;That did not work. still multiple events getting clubbed together as one event in splunk.&lt;BR /&gt;
These events are so large.&lt;BR /&gt;
our splunkd.log has below many times,&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;10-13-2016 06:43:14.649 -0400 WARN  LineBreakingProcessor - Truncating line because limit of 100000 bytes has been exceeded with a line length &amp;gt;= 131072 - data_source="&amp;lt;source masked&amp;gt;", data_host="&amp;lt;host masked&amp;gt;", data_sourcetype="ecapi_log4j_2"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Oct 2016 10:54:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking-issue-please-help-with-props-com/m-p/253249#M96272</guid>
      <dc:creator>sim_tcr</dc:creator>
      <dc:date>2016-10-13T10:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: line breaking issue, please help with props.com</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking-issue-please-help-with-props-com/m-p/253250#M96273</link>
      <description>&lt;P&gt;I don't know if "Sunday 2016-10-09 12:02:46,047 [tomcat-http--9]" is an example of a full event or the beginning of it.&lt;/P&gt;

&lt;P&gt;Every way, you could import events using the following Time format &lt;BR /&gt;
%A %Y-%m-%d %H:%M:%S,%3N&lt;BR /&gt;
Splunk recognizes timestamp as event start and truncate before it.&lt;/P&gt;

&lt;P&gt;If your example is only the beginning of an event you have to modify only SHOULD_LINEMERGE.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 11:10:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking-issue-please-help-with-props-com/m-p/253250#M96273</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2016-10-13T11:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: line breaking issue, please help with props.com</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking-issue-please-help-with-props-com/m-p/253251#M96274</link>
      <description>&lt;P&gt;Change truncate = 100000 to truncate=250000&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 11:19:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking-issue-please-help-with-props-com/m-p/253251#M96274</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2016-10-13T11:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: line breaking issue, please help with props.com</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking-issue-please-help-with-props-com/m-p/253252#M96275</link>
      <description>&lt;P&gt;"Sunday 2016-10-09 12:02:46,047 [tomcat-http--9]" is the beginning of the event&lt;BR /&gt;
I tried below and did not work&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[ecapi_log4j_2]
TIME_FORMAT = %Y-%m-%d %H:%M:%S,%3N
MAX_TIMESTAMP_LOOKAHEAD = 26
**SHOULD_LINEMERGE = true**
LINE_BREAKER = ([\r\n]+)(?:\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2},\d{3})
TRUNCATE = 200000
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Oct 2016 12:59:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking-issue-please-help-with-props-com/m-p/253252#M96275</guid>
      <dc:creator>sim_tcr</dc:creator>
      <dc:date>2016-10-13T12:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: line breaking issue, please help with props.com</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking-issue-please-help-with-props-com/m-p/253253#M96276</link>
      <description>&lt;P&gt;Did you tried to modify TIME_FORMAT in %A %Y-%m-%d %H:%M:%S,%3N and don't use LINE_BREAKER and TRUNCATE?&lt;/P&gt;

&lt;P&gt;I suggest to you to save an example of your logs in a file and try to ingest it using the web interface.&lt;BR /&gt;
In this way you can adjust your props and viewing the results at the same time.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:25:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking-issue-please-help-with-props-com/m-p/253253#M96276</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-29T11:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: line breaking issue, please help with props.com</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking-issue-please-help-with-props-com/m-p/253254#M96277</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;[ecapi_log4j_2]
TIME_FORMAT = %Y-%m-%d %H:%M:%S,%3N
MAX_TIMESTAMP_LOOKAHEAD = 40
SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)[SMTWF][a-z]+\s+\d{4}-\d{2}-\d{2}
TRUNCATE = 100000
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Oct 2016 13:24:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking-issue-please-help-with-props-com/m-p/253254#M96277</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2016-10-13T13:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: line breaking issue, please help with props.com</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking-issue-please-help-with-props-com/m-p/253255#M96278</link>
      <description>&lt;P&gt;Have you tried the config on the forwarder?  The data may already be parsed by the time it hits the indexer.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 14:35:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking-issue-please-help-with-props-com/m-p/253255#M96278</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2016-10-13T14:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: line breaking issue, please help with props.com</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking-issue-please-help-with-props-com/m-p/253256#M96279</link>
      <description>&lt;P&gt;that did not work either.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 12:47:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking-issue-please-help-with-props-com/m-p/253256#M96279</guid>
      <dc:creator>sim_tcr</dc:creator>
      <dc:date>2016-10-14T12:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: line breaking issue, please help with props.com</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking-issue-please-help-with-props-com/m-p/253257#M96280</link>
      <description>&lt;P&gt;Change truncate = 100000 to a higher number like truncate=250000&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 13:27:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking-issue-please-help-with-props-com/m-p/253257#M96280</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2016-10-14T13:27:10Z</dc:date>
    </item>
  </channel>
</rss>

