<?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: Split pipe delimited line into named columns in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Split-pipe-delimited-line-into-named-columns/m-p/220809#M43363</link>
    <description>&lt;P&gt;Thank you for the input. But I seem to have no luck with it. I still get blanks in the result set.&lt;BR /&gt;
Will the &lt;CODE&gt;field=.*&lt;/CODE&gt; return all the data to the end of the line so the rest of the rule can break it down?&lt;BR /&gt;
I see data in the "events" (299,102 rows). One row from the events:&lt;BR /&gt;
&lt;CODE&gt;RENC  |OROB531K|        |       0|2017-01-05-02.05.47.000000|2017-01-05-02.05.54.000000|17761|17761|    0|    7| 0:00.46|24H00|24H00|    1|LROP D/B RESTORE    |2017-01-04-02.04.57.000000|                 |0001-01-01|        |       0|  |       -|       -|       -|&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jan 2017 18:14:13 GMT</pubDate>
    <dc:creator>Noorzaie</dc:creator>
    <dc:date>2017-01-06T18:14:13Z</dc:date>
    <item>
      <title>Split pipe delimited line into named columns</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Split-pipe-delimited-line-into-named-columns/m-p/220808#M43362</link>
      <description>&lt;P&gt;I have the following text line:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;COLC  |BCCR7520|ACAUTLO1|     300|2017-01-03-12.00.12.000000|2017-01-03-12.02.30.000000|  159|  159|    0| 2M18| 0:01.03| 2M18|    0|    4|LOAD AUTH MASTER TBL|2017-01-03-12.00.12.000000|&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I have tried this with no avail:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| rex field=.* "(?&amp;lt;f01&amp;gt;[^\|].*)\|(?&amp;lt;f02&amp;gt;.*)\|" |table f01, f02&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Appreciate the help.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 21:52:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Split-pipe-delimited-line-into-named-columns/m-p/220808#M43362</guid>
      <dc:creator>Noorzaie</dc:creator>
      <dc:date>2017-01-05T21:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Split pipe delimited line into named columns</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Split-pipe-delimited-line-into-named-columns/m-p/220809#M43363</link>
      <description>&lt;P&gt;Thank you for the input. But I seem to have no luck with it. I still get blanks in the result set.&lt;BR /&gt;
Will the &lt;CODE&gt;field=.*&lt;/CODE&gt; return all the data to the end of the line so the rest of the rule can break it down?&lt;BR /&gt;
I see data in the "events" (299,102 rows). One row from the events:&lt;BR /&gt;
&lt;CODE&gt;RENC  |OROB531K|        |       0|2017-01-05-02.05.47.000000|2017-01-05-02.05.54.000000|17761|17761|    0|    7| 0:00.46|24H00|24H00|    1|LROP D/B RESTORE    |2017-01-04-02.04.57.000000|                 |0001-01-01|        |       0|  |       -|       -|       -|&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 18:14:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Split-pipe-delimited-line-into-named-columns/m-p/220809#M43363</guid>
      <dc:creator>Noorzaie</dc:creator>
      <dc:date>2017-01-06T18:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Split pipe delimited line into named columns</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Split-pipe-delimited-line-into-named-columns/m-p/220810#M43364</link>
      <description>&lt;P&gt;try using this - &lt;/P&gt;

&lt;P&gt;| rex field=_raw  "^(?[^|].+)|(?[^|].+)|" | table f01, f02&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 18:40:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Split-pipe-delimited-line-into-named-columns/m-p/220810#M43364</guid>
      <dc:creator>nmohammed</dc:creator>
      <dc:date>2017-01-06T18:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Split pipe delimited line into named columns</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Split-pipe-delimited-line-into-named-columns/m-p/220811#M43365</link>
      <description>&lt;P&gt;That did it!&lt;BR /&gt;
Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 18:54:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Split-pipe-delimited-line-into-named-columns/m-p/220811#M43365</guid>
      <dc:creator>Noorzaie</dc:creator>
      <dc:date>2017-01-06T18:54:34Z</dc:date>
    </item>
  </channel>
</rss>

