logstash-plugins / logstash-input-jdbc

Logstash Plugin for JDBC Inputs
Apache License 2.0
449 stars 187 forks source link

how to set array into elasticsearch #358

Closed lgq1 closed 4 years ago

lgq1 commented 5 years ago

I user this plugin to sync mysql to elasticsearch,but I have some problems。 For example:my field is topics。 mysql format: topics:["girl","beatiful"] es: topics: "["girl","beatiful"]",this is a string。

but I want is: ["girl","beatiful"],this is a array

please,how to do it?

robbavey commented 4 years ago

I apologize for the inconvenience, but this is a usage question, and should be asked at https://discuss.elastic.co.

GitHub is for coding issues and error reporting.