I'm getting to much logs in my Elasticsearch server and this log takes too much memory on disk. every 2-3 hour,server is getting around 4 GB logs.
Logs looks like-
[2017-05-08T03:08:14,616][WARN ][o.e.d.r.RestController ] Content type detection for rest requests is deprecated. Specify the content type using the [Content-Type] header
For those using curl, a simple addition of
-H 'Content-Type: application/json'
Made the trick for me
Updating my clients, in my case elasticsearch-model and elasticsearch-rails resolved the issue for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With