<?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 question... in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking-question/m-p/130047#M26758</link>
    <description>&lt;P&gt;Thanks. I'm also going to look at the SEDCMD, which allows me to run sed commands against the stream.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Apr 2014 00:03:49 GMT</pubDate>
    <dc:creator>a212830</dc:creator>
    <dc:date>2014-04-15T00:03:49Z</dc:date>
    <item>
      <title>line-breaking question...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking-question/m-p/130043#M26754</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a new multi-line feed that needs to be put into SPlunk, and it's one of the more challenging ones that I've run into.&lt;/P&gt;

&lt;P&gt;The line will start with a number, followed by a colon ":", and then the word Bandwidth, followed by another colon.  It could then have variables lines, and it ends with "Name:" and some value.  Examples are below. The file also has other info, but I don't want that.  Oh yeah, it's on Windows.  No idea where to even start on  this one (besides, Mad Men and GOT is on tv tonight!).&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SubZone:
         1:
           Bandwidth:
             ClusterUsage: "0"
             LocalUsage: "0"
           Name: "SLC_SZ"
         2:
           Bandwidth:
             ClusterUsage: "0"
             LocalUsage: "0"
           Name: "Canaada_SZ"
         3:
           Bandwidth:
             ClusterUsage: "0"
             LocalUsage: "0"
           Name: "SLC American Fork_SZ"
         4:
           Bandwidth:
             ClusterUsage: "0"
             LocalUsage: "0"
           Name: "UK_SZ"
         5:
           Bandwidth:
             ClusterUsage: "0"
             LocalUsage: "0"
           Name: "Japan_SZ"
         6:
           Bandwidth:
             ClusterUsage: "0"
             LocalUsage: "0"
           Name: "Hong Kong_SZ"
         7:
           Bandwidth:
             ClusterUsage: "0"
             LocalUsage: "0"
           Name: "Taiwan_SZ"
         8:
           Bandwidth:
             ClusterUsage: "0"
             LocalUsage: "0"
           Name: "India_SZ"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Apr 2014 00:38:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking-question/m-p/130043#M26754</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2014-04-14T00:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: line-breaking question...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking-question/m-p/130044#M26755</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
You can use props.conf to manage that in indexer end.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;BREAK_ONLY_BEFORE=\d:&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;will make sure the events break at only with a number and colon.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2014 05:05:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking-question/m-p/130044#M26755</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-04-14T05:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: line-breaking question...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking-question/m-p/130045#M26756</link>
      <description>&lt;P&gt;Thanks.  I got that working.  Any suggestion on filtering out (or filtering in) in this type of situation?  The event should start with a number, followed by a colon, and end with "Name:" and some value.   Anything that doesn't meet that criteria should be filtered.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2014 19:33:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking-question/m-p/130045#M26756</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2014-04-14T19:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: line-breaking question...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking-question/m-p/130046#M26757</link>
      <description>&lt;P&gt;Best option always will be setting the start or end. I see start is the better way. There is not much pattern to redirect the inputs to null queue. So better leave it that way. it will be very hard to filter lines inbetween your multi line  event. If it solves the issue mark it as an answer...&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2014 19:38:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking-question/m-p/130046#M26757</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-04-14T19:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: line-breaking question...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking-question/m-p/130047#M26758</link>
      <description>&lt;P&gt;Thanks. I'm also going to look at the SEDCMD, which allows me to run sed commands against the stream.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2014 00:03:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking-question/m-p/130047#M26758</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2014-04-15T00:03:49Z</dc:date>
    </item>
  </channel>
</rss>

