<?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 How to configure Splunk to read a csv file from a universal forwarder? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-read-a-csv-file-from-a-universal/m-p/494402#M84405</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;
I have one csv file at location  /apps/data_splunk/.csv&lt;BR /&gt;
And this CSV file has data like below&lt;BR /&gt;
JAN-18 | 31-JAN-2018 | -1 | 1 | 31-JAN-18 | 01-FEB-18 | 727&lt;BR /&gt;
JAN-18 | 01-FEB-2018 | 1 | 1 | 01-FEB-18 | 02-FEB-18 | 751&lt;BR /&gt;
JAN-18 | 02-FEB-2018 | 2 | 1 | 02-FEB-18 | 02-FEB-18 | 342&lt;BR /&gt;
JAN-18 | 06-FEB-2018 | 4 | 1 | 06-FEB-18 | 06-FEB-18 | 323&lt;/P&gt;

&lt;P&gt;I want to forward this data to my splunk.&lt;BR /&gt;
 Here is what I have done, but it's not working.  I have these setup on the Splunk UF server.&lt;BR /&gt;
Inputs.conf&lt;BR /&gt;
[monitor://data_splunk/.csv]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
index = _idx2&lt;BR /&gt;
sourcetype = mycsvfileData&lt;/P&gt;

&lt;P&gt;Props.conf&lt;BR /&gt;
[mycsvfileData]&lt;BR /&gt;
INDEXED_EXTRACTIONS = csv&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
NO_BINARY_CHECK = true&lt;BR /&gt;
KV_MODE = none&lt;BR /&gt;
category = Structured&lt;BR /&gt;
FIELD_DELIMITER = |&lt;/P&gt;

&lt;P&gt;Please let me know, what I am doing wrong. Please suggest the better way.&lt;BR /&gt;
Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 02:25:16 GMT</pubDate>
    <dc:creator>avni26</dc:creator>
    <dc:date>2020-09-30T02:25:16Z</dc:date>
    <item>
      <title>How to configure Splunk to read a csv file from a universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-read-a-csv-file-from-a-universal/m-p/494402#M84405</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I have one csv file at location  /apps/data_splunk/.csv&lt;BR /&gt;
And this CSV file has data like below&lt;BR /&gt;
JAN-18 | 31-JAN-2018 | -1 | 1 | 31-JAN-18 | 01-FEB-18 | 727&lt;BR /&gt;
JAN-18 | 01-FEB-2018 | 1 | 1 | 01-FEB-18 | 02-FEB-18 | 751&lt;BR /&gt;
JAN-18 | 02-FEB-2018 | 2 | 1 | 02-FEB-18 | 02-FEB-18 | 342&lt;BR /&gt;
JAN-18 | 06-FEB-2018 | 4 | 1 | 06-FEB-18 | 06-FEB-18 | 323&lt;/P&gt;

&lt;P&gt;I want to forward this data to my splunk.&lt;BR /&gt;
 Here is what I have done, but it's not working.  I have these setup on the Splunk UF server.&lt;BR /&gt;
Inputs.conf&lt;BR /&gt;
[monitor://data_splunk/.csv]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
index = _idx2&lt;BR /&gt;
sourcetype = mycsvfileData&lt;/P&gt;

&lt;P&gt;Props.conf&lt;BR /&gt;
[mycsvfileData]&lt;BR /&gt;
INDEXED_EXTRACTIONS = csv&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
NO_BINARY_CHECK = true&lt;BR /&gt;
KV_MODE = none&lt;BR /&gt;
category = Structured&lt;BR /&gt;
FIELD_DELIMITER = |&lt;/P&gt;

&lt;P&gt;Please let me know, what I am doing wrong. Please suggest the better way.&lt;BR /&gt;
Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:25:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-read-a-csv-file-from-a-universal/m-p/494402#M84405</guid>
      <dc:creator>avni26</dc:creator>
      <dc:date>2020-09-30T02:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Splunk to read a csv file from a universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-read-a-csv-file-from-a-universal/m-p/494403#M84406</link>
      <description>&lt;P&gt;Please elaborate on "it's not working".  What results are you getting compared to what you expect?&lt;BR /&gt;
 The &lt;CODE&gt;monitor&lt;/CODE&gt; line does not match the file name you say you want to read.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2019 14:11:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-read-a-csv-file-from-a-universal/m-p/494403#M84406</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-10-09T14:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Splunk to read a csv file from a universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-read-a-csv-file-from-a-universal/m-p/494404#M84407</link>
      <description>&lt;P&gt;Hi @richgalloway. Not working means, no data is getting reflected to splunk(mycsvfileData sourcetype is not getting reflected in splunk)&lt;BR /&gt;
ohh , missed it here in question deatil. Monitor line is "[monitor:///apps/data_splunk/.csv]".&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2019 14:52:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-read-a-csv-file-from-a-universal/m-p/494404#M84407</guid>
      <dc:creator>avni26</dc:creator>
      <dc:date>2019-10-09T14:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Splunk to read a csv file from a universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-read-a-csv-file-from-a-universal/m-p/494405#M84408</link>
      <description>&lt;P&gt;Check the permissions on the file to verify splunk has read access.&lt;BR /&gt;
Run &lt;CODE&gt;splunk list monitor&lt;/CODE&gt; on the UF and verify the file is listed.&lt;BR /&gt;
Check splunkd.log on the UF for errors related to the file.&lt;BR /&gt;
Verify you have data in index=_internal from the UF.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2019 15:58:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-read-a-csv-file-from-a-universal/m-p/494405#M84408</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-10-09T15:58:29Z</dc:date>
    </item>
  </channel>
</rss>

