<?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 question on data inputs for multiple csv files in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/question-on-data-inputs-for-multiple-csv-files/m-p/331043#M94911</link>
    <description>&lt;P&gt;i see that i can chose the single csv file type for a csv file and verify the columns are right and then insert into the index via data input option&lt;/P&gt;

&lt;P&gt;but when i have multiple csv files in a folder, i try to enter the name with wildcard ie * , and this time it just does not consider it to be a csv file and just dumps everything into the index on a single line.&lt;BR /&gt;
i would like to have the csv format when i insert multiple csv files , just like when i do it for single csv file..&lt;/P&gt;

&lt;P&gt;how to do this..&lt;/P&gt;</description>
    <pubDate>Fri, 13 Apr 2018 15:33:28 GMT</pubDate>
    <dc:creator>jiaqya</dc:creator>
    <dc:date>2018-04-13T15:33:28Z</dc:date>
    <item>
      <title>question on data inputs for multiple csv files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/question-on-data-inputs-for-multiple-csv-files/m-p/331043#M94911</link>
      <description>&lt;P&gt;i see that i can chose the single csv file type for a csv file and verify the columns are right and then insert into the index via data input option&lt;/P&gt;

&lt;P&gt;but when i have multiple csv files in a folder, i try to enter the name with wildcard ie * , and this time it just does not consider it to be a csv file and just dumps everything into the index on a single line.&lt;BR /&gt;
i would like to have the csv format when i insert multiple csv files , just like when i do it for single csv file..&lt;/P&gt;

&lt;P&gt;how to do this..&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 15:33:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/question-on-data-inputs-for-multiple-csv-files/m-p/331043#M94911</guid>
      <dc:creator>jiaqya</dc:creator>
      <dc:date>2018-04-13T15:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: question on data inputs for multiple csv files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/question-on-data-inputs-for-multiple-csv-files/m-p/331044#M94912</link>
      <description>&lt;P&gt;Did you try explicitly assigning the sourcetype as &lt;CODE&gt;csv&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 16:50:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/question-on-data-inputs-for-multiple-csv-files/m-p/331044#M94912</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-04-13T16:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: question on data inputs for multiple csv files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/question-on-data-inputs-for-multiple-csv-files/m-p/331045#M94913</link>
      <description>&lt;P&gt;no, while on the gui, with multiple files , it didnt allow me to specify the file type, i used a different name for source type other than csv&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 16:56:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/question-on-data-inputs-for-multiple-csv-files/m-p/331045#M94913</guid>
      <dc:creator>jiaqya</dc:creator>
      <dc:date>2018-04-13T16:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: question on data inputs for multiple csv files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/question-on-data-inputs-for-multiple-csv-files/m-p/331046#M94914</link>
      <description>&lt;P&gt;@jiaqya, &lt;BR /&gt;
when you add a monitor stanza (monitoring a directory) from the GUI, make user to apply th &lt;CODE&gt;csv&lt;/CODE&gt; sourcetype to that particular input when you are prompt to do so. exactly like @somesoni2 suggested&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 18:00:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/question-on-data-inputs-for-multiple-csv-files/m-p/331046#M94914</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-04-13T18:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: question on data inputs for multiple csv files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/question-on-data-inputs-for-multiple-csv-files/m-p/331047#M94915</link>
      <description>&lt;P&gt;say you have a folder named New Folder &amp;gt; now place 2 csv files inside that &amp;gt; now settings - data inputs &amp;gt; Files &amp;amp; directories &amp;gt; add new&lt;BR /&gt;
Give your folder containing the csv files (New Folder) , does it work now?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 18:18:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/question-on-data-inputs-for-multiple-csv-files/m-p/331047#M94915</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2018-04-13T18:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: question on data inputs for multiple csv files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/question-on-data-inputs-for-multiple-csv-files/m-p/331048#M94916</link>
      <description>&lt;P&gt;i tried this and provided csv as the source type, doing this now its not even indexing it...&lt;BR /&gt;
i have 5 files inside the folder,   E:\NewFolder*   "csv" is the sourcetype , index=test_index&lt;BR /&gt;
i tried modifying the files, but nothing on the index..&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 18:34:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/question-on-data-inputs-for-multiple-csv-files/m-p/331048#M94916</guid>
      <dc:creator>jiaqya</dc:creator>
      <dc:date>2018-04-13T18:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: question on data inputs for multiple csv files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/question-on-data-inputs-for-multiple-csv-files/m-p/331049#M94917</link>
      <description>&lt;P&gt;hmm this is certainly weird. I just placed 2 files in a folder and used file and directories to just upload the folder, it got indexed.&lt;BR /&gt;
2 things here and i Know that you must have checked thoroughly but just asking again-&lt;BR /&gt;
by any chance the files are not excels right? sometimes one forgets to save them as csv&lt;BR /&gt;
do not click on select and set sourcetype, select 'automatic' which comes by default....&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 18:43:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/question-on-data-inputs-for-multiple-csv-files/m-p/331049#M94917</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2018-04-13T18:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: question on data inputs for multiple csv files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/question-on-data-inputs-for-multiple-csv-files/m-p/331050#M94918</link>
      <description>&lt;P&gt;no, these are csv files .&lt;BR /&gt;
now when i do automatic, it is dumping the data but all in a single line.&lt;/P&gt;

&lt;P&gt;alternately , when i choose each file, i find that data inserts properly, with correct columns/rows,  but when i do multiple csv files like mentioned above, i get things in single line..&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 18:52:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/question-on-data-inputs-for-multiple-csv-files/m-p/331050#M94918</guid>
      <dc:creator>jiaqya</dc:creator>
      <dc:date>2018-04-13T18:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: question on data inputs for multiple csv files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/question-on-data-inputs-for-multiple-csv-files/m-p/331051#M94919</link>
      <description>&lt;P&gt;i tried again adding a new data input, the csv files have around 290 rows each.&lt;/P&gt;

&lt;P&gt;strangely enough 72 rows got inserted correctly..  i will have a check tomorrow...&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 19:15:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/question-on-data-inputs-for-multiple-csv-files/m-p/331051#M94919</guid>
      <dc:creator>jiaqya</dc:creator>
      <dc:date>2018-04-13T19:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: question on data inputs for multiple csv files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/question-on-data-inputs-for-multiple-csv-files/m-p/331052#M94920</link>
      <description>&lt;P&gt;i copied these files to dev environment and then did the same process of adding the files with wild card, it works on the dev server and also it comes up with correct format and columns and correct no of rows.&lt;/P&gt;

&lt;P&gt;but when i do the same on prod server, it does not index , or its partial or it indexes in single line.&lt;/P&gt;

&lt;P&gt;there is some difference between these 2 , have no idea.. both are forwarders...&lt;/P&gt;

&lt;P&gt;any ideas ?&lt;/P&gt;</description>
      <pubDate>Sat, 14 Apr 2018 10:28:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/question-on-data-inputs-for-multiple-csv-files/m-p/331052#M94920</guid>
      <dc:creator>jiaqya</dc:creator>
      <dc:date>2018-04-14T10:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: question on data inputs for multiple csv files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/question-on-data-inputs-for-multiple-csv-files/m-p/331053#M94921</link>
      <description>&lt;P&gt;Full path to your data  Set host    Source type Index   Number of files App Status  Actions&lt;BR /&gt;
/home/testuser/LAN_*.csv    Constant Value csv john_test 3  search Enabled | Disable    Delete&lt;/P&gt;

&lt;P&gt;as you can see under the data inputs , this is from dev, it shows 3 files under "number of files". this was immediate...&lt;/P&gt;

&lt;P&gt;on the other servers it shows blank.. its not detecting the existence of files properly...&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:02:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/question-on-data-inputs-for-multiple-csv-files/m-p/331053#M94921</guid>
      <dc:creator>jiaqya</dc:creator>
      <dc:date>2020-09-29T19:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: question on data inputs for multiple csv files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/question-on-data-inputs-for-multiple-csv-files/m-p/331054#M94922</link>
      <description>&lt;P&gt;Hi - this is indeed very strange, it looks like some problem with the splunk prod server. I am sorry but this is beyond my knowledge to solve. I retried repeating what I did (using files and directories)  , this time i placed 5 different CSVs and they all got indexed with individual rows. What is even more strange is in one of your attempts ,you said that you received 72/290 rows correctly!  It should either work or not work! Maybe you need to contact splunk directly about this behaviour&lt;/P&gt;</description>
      <pubDate>Sat, 14 Apr 2018 14:59:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/question-on-data-inputs-for-multiple-csv-files/m-p/331054#M94922</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2018-04-14T14:59:49Z</dc:date>
    </item>
  </channel>
</rss>

