internetitem / logback-elasticsearch-appender

Logback Elasticsearch Appender
Other
233 stars 137 forks source link

Change content-type to application/json #58

Closed ewolff closed 5 years ago

ewolff commented 5 years ago

Newer versions of Elasticsearch need the correct content type, in this case application/json. See https://www.elastic.co/blog/strict-content-type-checking-for-elasticsearch-rest-requests .