<?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: linebreaking issue in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/linebreaking-issue/m-p/108510#M22816</link>
    <description>&lt;P&gt;use transform.conf to make a field ?&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jul 2013 15:17:02 GMT</pubDate>
    <dc:creator>ddarmand</dc:creator>
    <dc:date>2013-07-29T15:17:02Z</dc:date>
    <item>
      <title>linebreaking issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/linebreaking-issue/m-p/108507#M22813</link>
      <description>&lt;P&gt;I need some help getting Splunk to line break properly. I have a poorly formatted log file that is pulled from a mainframe so getting the formatting of the message changed would be extremely tough. I was hoping to use Splunk's built-in tools to handle the issue, but I cannot get this to work right at all.&lt;/P&gt;

&lt;P&gt;Here is a sample event&lt;/P&gt;

&lt;P&gt;20131992359247000|2013|199|235924|7000|7000|xxxx|xxxx|xxxx|xxxxxxx|xxxx|3101600002xx   02153604 |1|06|xx|U |00000000|205|xxxx - xxxxxxxxxxxxxxxxxxxxxx|            |  &lt;/P&gt;

&lt;P&gt;I want to have every line break before&lt;/P&gt;

&lt;P&gt;20131992359247000 (this is not a static value - it changes for every events)&lt;/P&gt;

&lt;P&gt;but my regex is not working. Any suggestions&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jul 2013 06:41:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/linebreaking-issue/m-p/108507#M22813</guid>
      <dc:creator>ebailey</dc:creator>
      <dc:date>2013-07-28T06:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: linebreaking issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/linebreaking-issue/m-p/108508#M22814</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)20131992359247000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;HR /&gt;

&lt;P&gt;well, if it's not a static value, then you are going to have to say how it differs from every other line. i'm also assuming that you actually have multiple lines and that your problem is that you want to break at the beginning of a particular line that matches some pattern. So the question is, what is that pattern? And the answer to that is your regex. It would be helpful if you described it in words if you can't do so in regex. But let's say that it's just every line that starts with a 17-digit number, and then the pipe. Then it's just:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;([\r\n]+)\d{17}\|
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or maybe it's more restrictive, and there are other lines with 17-digit numbers at the start that you don't want to break on. Or maybe the 17-digit number in the middle of the line. You need to say it, not make us guess.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jul 2013 22:23:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/linebreaking-issue/m-p/108508#M22814</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2013-07-28T22:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: linebreaking issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/linebreaking-issue/m-p/108509#M22815</link>
      <description>&lt;P&gt;20131992359247000 is not a static value&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2013 13:54:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/linebreaking-issue/m-p/108509#M22815</guid>
      <dc:creator>ebailey</dc:creator>
      <dc:date>2013-07-29T13:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: linebreaking issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/linebreaking-issue/m-p/108510#M22816</link>
      <description>&lt;P&gt;use transform.conf to make a field ?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2013 15:17:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/linebreaking-issue/m-p/108510#M22816</guid>
      <dc:creator>ddarmand</dc:creator>
      <dc:date>2013-07-29T15:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: linebreaking issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/linebreaking-issue/m-p/108511#M22817</link>
      <description>&lt;P&gt;that is it - i almost had it right - Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2013 03:25:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/linebreaking-issue/m-p/108511#M22817</guid>
      <dc:creator>ebailey</dc:creator>
      <dc:date>2013-07-30T03:25:13Z</dc:date>
    </item>
  </channel>
</rss>

