<?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 set a correct line breaks in my props.conf in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-correct-line-breaks-in-my-props-conf/m-p/132228#M27215</link>
    <description>&lt;P&gt;Yes,I have tried but did not work.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Feb 2015 02:25:48 GMT</pubDate>
    <dc:creator>perlish</dc:creator>
    <dc:date>2015-02-09T02:25:48Z</dc:date>
    <item>
      <title>How to set a correct line breaks in my props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-correct-line-breaks-in-my-props-conf/m-p/132222#M27209</link>
      <description>&lt;P&gt;The first picture is my original logs&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/222i23CDCA6010BA8923/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;The second picture is my logs in the splunk&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/223iF104EB17D3DD2E98/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Now,we can see the splunk wrap my logs in the wrong places.&lt;BR /&gt;
Please tell me how to set in the props.conf can solve this problem.&lt;BR /&gt;
Thanks very much!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 09:55:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-correct-line-breaks-in-my-props-conf/m-p/132222#M27209</guid>
      <dc:creator>perlish</dc:creator>
      <dc:date>2015-02-06T09:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a correct line breaks in my props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-correct-line-breaks-in-my-props-conf/m-p/132223#M27210</link>
      <description>&lt;P&gt;What are the current props.conf settings for this log?  Have you tried &lt;CODE&gt;BREAK_ONLY_BEFORE=[ems.ton]&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 12:46:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-correct-line-breaks-in-my-props-conf/m-p/132223#M27210</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2015-02-06T12:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a correct line breaks in my props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-correct-line-breaks-in-my-props-conf/m-p/132224#M27211</link>
      <description>&lt;P&gt;Hi perlish&lt;/P&gt;

&lt;P&gt;There seems to be two problems. First the output of your logs has unwanted carriage returns in it. The second splunk is not recognising this as a multiline event. The latter can be fixed with the following stanza in props.conf.  The time prefix looks complex but it is saying look for a line that starts with [  and the time should come after the second [&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[business]
SHOULD_LINEMERGE = true
BREAK_ONLY_BEFORE_DATE = true
TIME_PREFIX = ^\[[^\[]+\[
TIME_FORMAT = %Y-%m-%d %H:%M:%S,%q3
MAX_TIMESTAMP_LOOKAHEAD = 24
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The line breaks will still be there and may cause fields to break in half. I suggest you look at how these logs are generated for the cause.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 16:05:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-correct-line-breaks-in-my-props-conf/m-p/132224#M27211</guid>
      <dc:creator>bmunson_splunk</dc:creator>
      <dc:date>2015-02-06T16:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a correct line breaks in my props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-correct-line-breaks-in-my-props-conf/m-p/132225#M27212</link>
      <description>&lt;P&gt;Ignore the 5. before time format. I don't know where that came from.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 16:10:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-correct-line-breaks-in-my-props-conf/m-p/132225#M27212</guid>
      <dc:creator>bmunson_splunk</dc:creator>
      <dc:date>2015-02-06T16:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a correct line breaks in my props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-correct-line-breaks-in-my-props-conf/m-p/132226#M27213</link>
      <description>&lt;P&gt;It's a line number added by the system in all code samples.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 16:13:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-correct-line-breaks-in-my-props-conf/m-p/132226#M27213</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2015-02-06T16:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a correct line breaks in my props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-correct-line-breaks-in-my-props-conf/m-p/132227#M27214</link>
      <description>&lt;P&gt;I tried this method but it seems did not work.&lt;BR /&gt;
How can I set up the line breaker like a '\n'.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2015 01:53:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-correct-line-breaks-in-my-props-conf/m-p/132227#M27214</guid>
      <dc:creator>perlish</dc:creator>
      <dc:date>2015-02-09T01:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a correct line breaks in my props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-correct-line-breaks-in-my-props-conf/m-p/132228#M27215</link>
      <description>&lt;P&gt;Yes,I have tried but did not work.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2015 02:25:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-correct-line-breaks-in-my-props-conf/m-p/132228#M27215</guid>
      <dc:creator>perlish</dc:creator>
      <dc:date>2015-02-09T02:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a correct line breaks in my props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-correct-line-breaks-in-my-props-conf/m-p/132229#M27216</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Try this,&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;LINE_BREAKER = ([\r\n]+)\[[^\]]+\]\[\d{4}\-\d{2}\-\d{2}\s++\d{2}\:\d{2}\:\d{2}\,\d{3}\]\[tid\:
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;THat should break the events better for you&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2015 13:46:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-a-correct-line-breaks-in-my-props-conf/m-p/132229#M27216</guid>
      <dc:creator>lmyrefelt</dc:creator>
      <dc:date>2015-02-11T13:46:25Z</dc:date>
    </item>
  </channel>
</rss>

