<?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: CSV and TSV File Inputs on Universal Forwarder - Do I need to configure both INDEXED_EXTRACTIONS and FIELD_DELIMITER? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/CSV-and-TSV-File-Inputs-on-Universal-Forwarder-Do-I-need-to/m-p/311246#M58462</link>
    <description>&lt;P&gt;To tie this completely off: &lt;CODE&gt;INDEXED_EXTRACTIONS&lt;/CODE&gt; happens on the &lt;EM&gt;forwarder&lt;/EM&gt;, NOT the Indexer.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jul 2017 00:18:56 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2017-07-20T00:18:56Z</dc:date>
    <item>
      <title>CSV and TSV File Inputs on Universal Forwarder - Do I need to configure both INDEXED_EXTRACTIONS and FIELD_DELIMITER?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-and-TSV-File-Inputs-on-Universal-Forwarder-Do-I-need-to/m-p/311238#M58454</link>
      <description>&lt;P&gt;I am going to be forwarding CSV and TSV files, and was wondering if I need to configure &lt;STRONG&gt;both&lt;/STRONG&gt; INDEXED_EXTRACTIONS and FIELD_DELIMITER in props.conf for the sourcetype on the Universal Forwarder.&lt;/P&gt;

&lt;P&gt;It seems redundant to tell it&lt;BR /&gt;
INDEXED_EXTRACTIONS= csv          &lt;STRONG&gt;and&lt;/STRONG&gt;          FIELD_DELIMITER= ,&lt;BR /&gt;
and&lt;BR /&gt;
INDEXED_EXTRACTIONS= tsv          &lt;STRONG&gt;and&lt;/STRONG&gt;          FIELD_DELIMITER= \t&lt;/P&gt;

&lt;P&gt;If it is a csv it should be obvious the field delimiter is a comma.&lt;BR /&gt;
And if it is a tsv it should be obvious the field delimiter is a tab.&lt;/P&gt;

&lt;P&gt;Is there a reason to configure both?  Or if only one is needed is there a reason to use one over the other?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:32:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-and-TSV-File-Inputs-on-Universal-Forwarder-Do-I-need-to/m-p/311238#M58454</guid>
      <dc:creator>gn694</dc:creator>
      <dc:date>2020-09-29T13:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: CSV and TSV File Inputs on Universal Forwarder - Do I need to configure both INDEXED_EXTRACTIONS and FIELD_DELIMITER?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-and-TSV-File-Inputs-on-Universal-Forwarder-Do-I-need-to/m-p/311239#M58455</link>
      <description>&lt;P&gt;Neither of those settings apply to a Universal Forwarder because the UF does not parse the files.&lt;BR /&gt;
Set &lt;CODE&gt;INDEXED_EXTRACTIONS&lt;/CODE&gt; on your indexers.  There is no need to also set &lt;CODE&gt;FIELD_DELIMITER&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 17:01:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-and-TSV-File-Inputs-on-Universal-Forwarder-Do-I-need-to/m-p/311239#M58455</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-04-05T17:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: CSV and TSV File Inputs on Universal Forwarder - Do I need to configure both INDEXED_EXTRACTIONS and FIELD_DELIMITER?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-and-TSV-File-Inputs-on-Universal-Forwarder-Do-I-need-to/m-p/311240#M58456</link>
      <description>&lt;P&gt;I think that may have been the case in previous Forwarder versions, but you can now configure this on the Forwarder.  "If you have Splunk Enterprise, you can edit the settings on indexer machines or machines where you are running the Splunk universal forwarder."  &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Extractfieldsfromfileswithstructureddata" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Extractfieldsfromfileswithstructureddata&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I already the CSV files being forwarded to Splunk, with props.conf configured on the Forwarder - I tested and verified that last month.  It was just today when I went to add the TSV files that I asked myself why I was using both INDEXED_EXTRACTIONS and FIELD_DELIMITER for the CSV files and whether or not I actually needed to.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:32:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-and-TSV-File-Inputs-on-Universal-Forwarder-Do-I-need-to/m-p/311240#M58456</guid>
      <dc:creator>gn694</dc:creator>
      <dc:date>2020-09-29T13:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: CSV and TSV File Inputs on Universal Forwarder - Do I need to configure both INDEXED_EXTRACTIONS and FIELD_DELIMITER?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-and-TSV-File-Inputs-on-Universal-Forwarder-Do-I-need-to/m-p/311241#M58457</link>
      <description>&lt;P&gt;When I first got started with &lt;CODE&gt;INDEXED_EXTRACTIONS&lt;/CODE&gt;, I was confused, too, and thought as @richgalloway did.  It turns out though, that this setting is HIGHLY unique and it causes a &lt;CODE&gt;Universal Forwarder&lt;/CODE&gt; to violate the "UFs do not index fields" rule.  So you MUST deploy &lt;CODE&gt;INDEXED_EXTRACTIONS&lt;/CODE&gt; to the UF and NOT to the &lt;CODE&gt;Indexers&lt;/CODE&gt;.  You need not set &lt;CODE&gt;FIELD_DELIMITER&lt;/CODE&gt; but, so long as you set it to match &lt;CODE&gt;INDEXED_EXTRACTIONS&lt;/CODE&gt;, doing so is harmless.  Now, why does &lt;CODE&gt;FIELD_DELIMITER&lt;/CODE&gt; exist?  Because it will override the &lt;CODE&gt;C&lt;/CODE&gt; in &lt;CODE&gt;CSV&lt;/CODE&gt; when you have a file like &lt;CODE&gt;%SV&lt;/CODE&gt;.  You will note that &lt;CODE&gt;%SV&lt;/CODE&gt; is not an option for &lt;CODE&gt;INDEXED_EXTRACTIONS&lt;/CODE&gt; so you use &lt;CODE&gt;CSV&lt;/CODE&gt; and then override it by setting &lt;CODE&gt;FIELD_DELIMITER=%&lt;/CODE&gt;.  It makes perfect sense.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 19:02:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-and-TSV-File-Inputs-on-Universal-Forwarder-Do-I-need-to/m-p/311241#M58457</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-04-05T19:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: CSV and TSV File Inputs on Universal Forwarder - Do I need to configure both INDEXED_EXTRACTIONS and FIELD_DELIMITER?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-and-TSV-File-Inputs-on-Universal-Forwarder-Do-I-need-to/m-p/311242#M58458</link>
      <description>&lt;P&gt;Thanks for straightening me out, woodcock.  So what does a UF do with &lt;CODE&gt;INDEXED_EXTRACTIONS&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 19:07:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-and-TSV-File-Inputs-on-Universal-Forwarder-Do-I-need-to/m-p/311242#M58458</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-04-05T19:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: CSV and TSV File Inputs on Universal Forwarder - Do I need to configure both INDEXED_EXTRACTIONS and FIELD_DELIMITER?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-and-TSV-File-Inputs-on-Universal-Forwarder-Do-I-need-to/m-p/311243#M58459</link>
      <description>&lt;P&gt;Thankx.  This is certainly a confusing topic.  Before last month I would have said that this type of thing had to be done on the indexer, and we have done it that way many times in the past.  I just happened to come across the Forwarder configurations.  I'm not sure when this functionality got added to the forwarder, but it does help offload some of the work from me / the Splunk infrastructure team and allows server/service admins the capability of adding these types of inputs on their own.  Thank you @woodcock and @richgalloway for taking the time to answer and help me with this.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 19:10:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-and-TSV-File-Inputs-on-Universal-Forwarder-Do-I-need-to/m-p/311243#M58459</guid>
      <dc:creator>gn694</dc:creator>
      <dc:date>2017-04-05T19:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: CSV and TSV File Inputs on Universal Forwarder - Do I need to configure both INDEXED_EXTRACTIONS and FIELD_DELIMITER?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-and-TSV-File-Inputs-on-Universal-Forwarder-Do-I-need-to/m-p/311244#M58460</link>
      <description>&lt;P&gt;It creates all the indexed fields just like a HF would and sends it to the indexers.  A year or 2 ago @martin_mueller or maybe @mus straightened me out, too.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 19:12:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-and-TSV-File-Inputs-on-Universal-Forwarder-Do-I-need-to/m-p/311244#M58460</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-04-05T19:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: CSV and TSV File Inputs on Universal Forwarder - Do I need to configure both INDEXED_EXTRACTIONS and FIELD_DELIMITER?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-and-TSV-File-Inputs-on-Universal-Forwarder-Do-I-need-to/m-p/311245#M58461</link>
      <description>&lt;P&gt;Yes, it is a sneaky way to offload some indexing workload from the Indexers to the Forwarders.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 19:13:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-and-TSV-File-Inputs-on-Universal-Forwarder-Do-I-need-to/m-p/311245#M58461</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-04-05T19:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: CSV and TSV File Inputs on Universal Forwarder - Do I need to configure both INDEXED_EXTRACTIONS and FIELD_DELIMITER?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-and-TSV-File-Inputs-on-Universal-Forwarder-Do-I-need-to/m-p/311246#M58462</link>
      <description>&lt;P&gt;To tie this completely off: &lt;CODE&gt;INDEXED_EXTRACTIONS&lt;/CODE&gt; happens on the &lt;EM&gt;forwarder&lt;/EM&gt;, NOT the Indexer.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2017 00:18:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-and-TSV-File-Inputs-on-Universal-Forwarder-Do-I-need-to/m-p/311246#M58462</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-07-20T00:18:56Z</dc:date>
    </item>
  </channel>
</rss>

