Can elastic search read a csv or tsv file in hdfs?


(siva mannem) #1

Hi,
can elastic search read a csv or tsv file in hdfs?
i am able to read a json file from hadoop hdfs and write to elastic search
and
i am able to read that json data from elastic search index.
is it possible to achieve the same with csv or tsv files on HDFS?
or
is elastic search meant only for JSON formatted files?
thanks,
--siva mannem

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/0fc01949-73db-4103-acc1-c75a3eb0caf4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Binh Ly-2) #2

Not sure about the HDFS part, but you certainly can use Logstash to parse a
CSV file and then output it to Elasticsearch:

http://logstash.net/docs/1.4.0/filters/csv

http://logstash.net/docs/1.4.0/outputs/elasticsearch

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/c4ccee6b-6c1f-4e3c-a992-e8323dd3b567%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #3