<?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 file could not be read. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/csv-file-could-not-be-read/m-p/249347#M47993</link>
    <description>&lt;P&gt;In this you have to map the field name in the csv file with the field name you want to .&lt;BR /&gt;
For ex. use &lt;BR /&gt;
sourcetype=abc|lookup filename.csv field1=FIELD1 field2=FIELD2....&lt;/P&gt;

&lt;P&gt;It is created before using lookups command.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Aug 2016 13:42:49 GMT</pubDate>
    <dc:creator>vivek_manoj</dc:creator>
    <dc:date>2016-08-29T13:42:49Z</dc:date>
    <item>
      <title>csv file could not be read.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/csv-file-could-not-be-read/m-p/249346#M47992</link>
      <description>&lt;P&gt;I created a csv file and placed in splunk/var/run/splunk/csv/ folder and using the command |inputcsv filename.csv&lt;/P&gt;

&lt;P&gt;I am unable to get the results. It says file could not be read. I have not applied any restrictions to the file. Please provide me with detailed steps on what to check .&lt;BR /&gt;
I guess I am missing something here.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Pallavi&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2016 07:38:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/csv-file-could-not-be-read/m-p/249346#M47992</guid>
      <dc:creator>pallavibalasa</dc:creator>
      <dc:date>2016-08-29T07:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: csv file could not be read.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/csv-file-could-not-be-read/m-p/249347#M47993</link>
      <description>&lt;P&gt;In this you have to map the field name in the csv file with the field name you want to .&lt;BR /&gt;
For ex. use &lt;BR /&gt;
sourcetype=abc|lookup filename.csv field1=FIELD1 field2=FIELD2....&lt;/P&gt;

&lt;P&gt;It is created before using lookups command.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2016 13:42:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/csv-file-could-not-be-read/m-p/249347#M47993</guid>
      <dc:creator>vivek_manoj</dc:creator>
      <dc:date>2016-08-29T13:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: csv file could not be read.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/csv-file-could-not-be-read/m-p/249348#M47994</link>
      <description>&lt;P&gt;Check the permission of the file. Make sure that the file exists and is readable by the splunk user&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2016 13:55:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/csv-file-could-not-be-read/m-p/249348#M47994</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2016-08-29T13:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: csv file could not be read.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/csv-file-could-not-be-read/m-p/249349#M47995</link>
      <description>&lt;P&gt;Place it in $splunk_home/etc/apps/search/lookup/&lt;/P&gt;

&lt;P&gt;Run csv folder is for outputcsv &lt;/P&gt;

&lt;P&gt;web ui to import and check where the files are imported. Why do you want to place the field in run - csv?? &lt;/P&gt;

&lt;P&gt;For further details check the below URL, &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.2/Knowledge/ConfigureCSVlookups"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.2/Knowledge/ConfigureCSVlookups&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2016 16:23:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/csv-file-could-not-be-read/m-p/249349#M47995</guid>
      <dc:creator>vasanthmss</dc:creator>
      <dc:date>2016-08-30T16:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: csv file could not be read.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/csv-file-could-not-be-read/m-p/249350#M47996</link>
      <description>&lt;P&gt;This issue is solved. I changed the permissions of the folder in which the file resides. Now i can read and write to the file.&lt;/P&gt;

&lt;P&gt;Thanks for all responses.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2016 11:26:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/csv-file-could-not-be-read/m-p/249350#M47996</guid>
      <dc:creator>pallavibalasa</dc:creator>
      <dc:date>2016-08-31T11:26:01Z</dc:date>
    </item>
  </channel>
</rss>

