<?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: Hunk - specify delimiter when using SplunkLineRecordReader in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Hunk-specify-delimiter-when-using-SplunkLineRecordReader/m-p/182941#M36660</link>
    <description>&lt;P&gt;Now working. You rock!&lt;/P&gt;</description>
    <pubDate>Thu, 07 May 2015 18:17:13 GMT</pubDate>
    <dc:creator>conwaygene</dc:creator>
    <dc:date>2015-05-07T18:17:13Z</dc:date>
    <item>
      <title>Hunk - specify delimiter when using SplunkLineRecordReader</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Hunk-specify-delimiter-when-using-SplunkLineRecordReader/m-p/182939#M36658</link>
      <description>&lt;P&gt;How does one specify the delimiter when using SplunkLineRecordReader? Trying to read in a csv file with a header and delimited by '|'. Currently, Splunk is reading in the line as one field.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2015 15:34:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Hunk-specify-delimiter-when-using-SplunkLineRecordReader/m-p/182939#M36658</guid>
      <dc:creator>conwaygene</dc:creator>
      <dc:date>2015-05-07T15:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Hunk - specify delimiter when using SplunkLineRecordReader</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Hunk-specify-delimiter-when-using-SplunkLineRecordReader/m-p/182940#M36659</link>
      <description>&lt;P&gt;Given that | is not part of commonly used CSV formats out there you'd have to use Hunk's delimiter based KV extraction by using props/transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/etc/apps/search/local/props.conf
[my-sourcetype]
REPORT-delim = pipe-extractor

$SPLUNK_HOME/etc/apps/search/local/transforms.conf
[pipe-extractor]
FIELDS = field1,field2, ....
DELIMS = | 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can read a blog post about the technique &lt;A href="http://blogs.splunk.com/2013/03/11/quick-n-dirty-delimited-data-sourcetypes-and-you/"&gt;here&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2015 18:03:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Hunk-specify-delimiter-when-using-SplunkLineRecordReader/m-p/182940#M36659</guid>
      <dc:creator>Ledion_Bitincka</dc:creator>
      <dc:date>2015-05-07T18:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Hunk - specify delimiter when using SplunkLineRecordReader</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Hunk-specify-delimiter-when-using-SplunkLineRecordReader/m-p/182941#M36660</link>
      <description>&lt;P&gt;Now working. You rock!&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2015 18:17:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Hunk-specify-delimiter-when-using-SplunkLineRecordReader/m-p/182941#M36660</guid>
      <dc:creator>conwaygene</dc:creator>
      <dc:date>2015-05-07T18:17:13Z</dc:date>
    </item>
  </channel>
</rss>

