【发布时间】:2017-10-07 07:01:20
【问题描述】:
我的 Elasticsearch 服务器中有很多日志,而这个日志占用了太多磁盘内存。每 2-3 小时,服务器会获取大约 4 GB 的日志。
日志看起来像-
[2017-05-08T03:08:14,616][WARN][o.e.d.r.RestController ] 不推荐使用休息请求的内容类型检测。使用 [Content-Type] 标头指定内容类型
【问题讨论】:
-
Specify the content type using the [Content-Type] header=> 与您的 ES 服务器交互的客户端之一没有发送Content-Type: application/json标头,因为 ES 不再自动检测内容。 -
是不是因为API的变化?
-
你用的是哪个ES版本?
标签: elasticsearch logging logstash