<?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: What is the correct parameter in props.conf for csv file ? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-correct-parameter-in-props-conf-for-csv-file/m-p/200454#M39613</link>
    <description>&lt;P&gt;HEADER_MODE? I'm not familiar with it, but the docs show:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Determines whether to use the inline ***SPLUNK*** directive to rewrite index-time fields.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;I don't think this is what you want. Instead maybe this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;HEADER_FIELD_LINE_NUMBER = &amp;lt;integer&amp;gt;

* Tells Splunk the line number of the line within the file that contains the
  header fields.  If set to 0, Splunk attempts to locate the header fields
  within the file automatically.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And if you use a header line, I don't think you want to list FIELD_NAMES.&lt;/P&gt;

&lt;P&gt;Finally, I'd ditch the PREAMBLE_REGEX as well.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2016 00:49:13 GMT</pubDate>
    <dc:creator>twinspop</dc:creator>
    <dc:date>2016-09-20T00:49:13Z</dc:date>
    <item>
      <title>What is the correct parameter in props.conf for csv file ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-correct-parameter-in-props-conf-for-csv-file/m-p/200452#M39611</link>
      <description>&lt;P&gt;Hi all, i'm pretty new here.&lt;/P&gt;

&lt;P&gt;I need to assign a name to the fields of a .csv imported file,&lt;BR /&gt;
but it doesn't work.&lt;BR /&gt;
In the Props.conf File i'm using these setting:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;DATETIME_CONFIG =
INDEXED_EXTRACTIONS = csv
HEADER_MODE = firstline
KV_MODE = none
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
category = Structured
description = Comma-separated value format. Set header and other settings in "Delimited Settings"
disabled = false
pulldown_type = true
PREAMBLE_REGEX = ^\tDate
FIELD_NAMES = [ Date, Time, Cl, User Name, Terminal name, TCode, Program, Audit Log Msg Text, Long Text, Proc , WP, Data, Data, Data, Data ]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can you help me?&lt;/P&gt;

&lt;P&gt;thanks&lt;BR /&gt;
Mirko&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2016 12:29:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-correct-parameter-in-props-conf-for-csv-file/m-p/200452#M39611</guid>
      <dc:creator>willmirko</dc:creator>
      <dc:date>2016-09-19T12:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: What is the correct parameter in props.conf for csv file ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-correct-parameter-in-props-conf-for-csv-file/m-p/200453#M39612</link>
      <description>&lt;P&gt;Try removing the brackets from the &lt;CODE&gt;FIELD_NAMES&lt;/CODE&gt; line.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2016 15:35:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-correct-parameter-in-props-conf-for-csv-file/m-p/200453#M39612</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2016-09-19T15:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: What is the correct parameter in props.conf for csv file ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-correct-parameter-in-props-conf-for-csv-file/m-p/200454#M39613</link>
      <description>&lt;P&gt;HEADER_MODE? I'm not familiar with it, but the docs show:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Determines whether to use the inline ***SPLUNK*** directive to rewrite index-time fields.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;I don't think this is what you want. Instead maybe this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;HEADER_FIELD_LINE_NUMBER = &amp;lt;integer&amp;gt;

* Tells Splunk the line number of the line within the file that contains the
  header fields.  If set to 0, Splunk attempts to locate the header fields
  within the file automatically.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And if you use a header line, I don't think you want to list FIELD_NAMES.&lt;/P&gt;

&lt;P&gt;Finally, I'd ditch the PREAMBLE_REGEX as well.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 00:49:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-correct-parameter-in-props-conf-for-csv-file/m-p/200454#M39613</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2016-09-20T00:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: What is the correct parameter in props.conf for csv file ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-correct-parameter-in-props-conf-for-csv-file/m-p/200455#M39614</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;The folloiwng configuration worked fine with me:&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[CSV_Sourcetype]
REPORT-main= delimExtractions
KV_MODE = none
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
category = Structured
pulldown_type = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[delimExtractions]
DELIMS=","
FIELDS=Number_of_Events,Action_Taken,Endpoint_Name,User_Name
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 09:07:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-correct-parameter-in-props-conf-for-csv-file/m-p/200455#M39614</guid>
      <dc:creator>aakwah</dc:creator>
      <dc:date>2016-09-20T09:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: What is the correct parameter in props.conf for csv file ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-correct-parameter-in-props-conf-for-csv-file/m-p/200456#M39615</link>
      <description>&lt;P&gt;Where to edit this props.conf and transforms.conf?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 01:55:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-correct-parameter-in-props-conf-for-csv-file/m-p/200456#M39615</guid>
      <dc:creator>nkkn87</dc:creator>
      <dc:date>2019-02-21T01:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: What is the correct parameter in props.conf for csv file ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-correct-parameter-in-props-conf-for-csv-file/m-p/200457#M39616</link>
      <description>&lt;P&gt;Where to find this props.conf and transforms.conf? &lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 01:56:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-correct-parameter-in-props-conf-for-csv-file/m-p/200457#M39616</guid>
      <dc:creator>nkkn87</dc:creator>
      <dc:date>2019-02-21T01:56:34Z</dc:date>
    </item>
  </channel>
</rss>

