The same issue exists with the Logstash plugin. You have to define the 
field names in the Logstash config file. 

Almost worse, each time you update field names, you have to restart 
logstash. 

On Friday, January 23, 2015 at 5:23:49 PM UTC-5, Mark Walkom wrote:
>
> You could use Logstash for this as well, it has a CSV filter.
>
> On 24 January 2015 at 01:21, Ron <rulk...@gmail.com <javascript:>> wrote:
>
>> Hello all,
>>
>> So I'm trying to import a large number of CSV files into Elasticsearch. 
>> All the files have different content in them, with different headers. 
>>
>> My goal is to have a directory we can drop CSVs into, and some plugin or 
>> process would pick them up, read the header and place the data in 
>> Elasticsearch mapping data to fields (gotten from the header). 
>>
>> I've looked at the CSV River plugin and Fluentd. It looks like they both 
>> support half of the plan. The issue we run into is it looks like both want 
>> static field names before import.  
>>
>> Am I wrong?  Anyone's help would be wonderful.
>>
>> Thanks
>>
>> Ron
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "elasticsearch" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to elasticsearc...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/elasticsearch/54f555d9-1d66-4b19-9334-90dde4fc658a%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/elasticsearch/54f555d9-1d66-4b19-9334-90dde4fc658a%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/620537a8-7bf4-4acf-b5ea-46c2d24c3812%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to