I'm using Logstash to keep my MySql database and ES in sync. I want to keep field names in both databases to be same. But logstash is converting some uppercase field names to lowercase. How to config logstash, so that those uppercase field names remain same?
output {
elasticsearch {
# protocol => "http"
index => "******"
document_type => "*"
document_id => "%{}"
hosts => ["localhost:9200"]
}
stdout { codec => rubydebug }
}
This is my config.
Those **** are used to hide real names.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.