Unable to load CSV data into elastic search


(anil praneeth vure) #1

Hi Team,
Trying elasticsearch for the first time, bear with my layman questions. I'm trying to load csv formatted data into kafka topic and eventual load into elastic search index. But i'm facing errors loading data from my topic into elasticsearch. Any thoughts on this? appreciate the help.

Cannot create mapping {"kafka-connect":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}}} -- {"root_cause":[{"type":"mapper_parsing_exception","reason":"Root mapping definition has unsupported parameters: [type : text] [fields : {keyword={type=keyword, ignore_above=256}}]"}],"type":"mapper_parsing_exception","reason":"Root mapping definition has unsupported parameters: [type : text] [fields : {keyword={type=keyword, ignore_above=256}}]"}


(Mark Walkom) #2

How is the topic sending data to Elasticsearch?


(anil praneeth vure) #3

using open source confluent version of kafka and i'm executing below command to load into elasticsearch.

./bin/connect-standalone etc/kafka/connect-standalone.properties etc/kafka-connect-elasticsearch/quickstart-elasticsearch.properties &


#4

hope this helps you


(anil praneeth vure) #5

Used Logstash and it worked pretty seamlessly, thank you for all the help.


(system) #6

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.