<?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 configure props.conf to parse CSV-like data with delimiters that contain multiple characters? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-to-parse-CSV-like-data-with/m-p/256453#M49269</link>
    <description>&lt;P&gt;The way I read the Admin manual, FIELD_DELIMITER must be a single character.&lt;/P&gt;

&lt;P&gt;I suggest writing a scripted input to parse the file and convert it into a form Splunk can ingest easier.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Dec 2016 13:54:32 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2016-12-06T13:54:32Z</dc:date>
    <item>
      <title>How to configure props.conf to parse CSV-like data with delimiters that contain multiple characters?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-to-parse-CSV-like-data-with/m-p/256452#M49268</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;

&lt;P&gt;I have a problem when I want to parse CSV-like data as the following,&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;field1_name#XDSP#C#S#field2_name#XDSP#C#S#field3_name#XDSP#C#S#field4_name
1#XDSP#C#S#2#XDSP#C#S#3#XDSP#C#S#4
10#XDSP#C#S#20#XDSP#C#S#30#XDSP#C#S#40
100#XDSP#C#S#200#XDSP#C#S#300#XDSP#C#S#400
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The first line has field names and the rest are values.&lt;BR /&gt;
Essentially the data is structured like CSV. I want Splunk to parse them as a CSV file, so I used FIELD_DELIMITER and HEADER_FIELD_DELIMITER attributes in props.conf, and configured Splunk the delimiter as &lt;CODE&gt;#XDSP#C#S#&lt;/CODE&gt;. However, it is seems that the FIELD_DELIMITER can only be a single character.&lt;/P&gt;

&lt;P&gt;Anyone have good idea to deal with that?&lt;BR /&gt;
Any suggestions will be appreciated, thank u very much.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:59:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-to-parse-CSV-like-data-with/m-p/256452#M49268</guid>
      <dc:creator>vantasy1208</dc:creator>
      <dc:date>2020-09-29T11:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props.conf to parse CSV-like data with delimiters that contain multiple characters?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-to-parse-CSV-like-data-with/m-p/256453#M49269</link>
      <description>&lt;P&gt;The way I read the Admin manual, FIELD_DELIMITER must be a single character.&lt;/P&gt;

&lt;P&gt;I suggest writing a scripted input to parse the file and convert it into a form Splunk can ingest easier.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2016 13:54:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-to-parse-CSV-like-data-with/m-p/256453#M49269</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2016-12-06T13:54:32Z</dc:date>
    </item>
  </channel>
</rss>

