Fix ElasticSearch config