看起来您遇到了Kibana服务的一个500内部服务器错误。这种情况可能由多种原因引起,以下是一些可能的解决步骤:1. **检查日志**: - 进入Kibana的日志文件,通常位于`varlogkibana`或`optkibanalogs`。 - 查看最近的
摘要:ELK 系统中访问报错 Kibana 报错: {“statusCode“:500, “error"Internal Server Error", "messag
ELK 系统中访问报错 Kibana 报错:
{“statusCode“:500, “error"/Internal Server Error", "message":”[parent] Data too large, data for [<http_request>] would be [998723778/952. 4mb], which is larger than the limit...
不用怀疑,ElasticSearch 的索引太大了
进入服务器一条条删吧
# 删除索引 python-logstash-2022.08.18
curl -XDELETE 'http://127.0.0.1:9200/python-logstash-2022.08.18'
为啥一条一条删?因为不能用 * 通配符呗
太麻烦了~ 还不一定删除成功
那就用 * 通配符吧
# 开启通配符模糊匹配删除索引
curl -XPUT -H "Content-Type:application/json" http://127.0.0.1:9200/_cluster/settings -d '{"persistent": {"action.destructive_requires_name": false}}}'
又报错,这次是啥?
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"text is empty"}],"type":"illegal_argument_exception","reason":"text is empty"},"status":400}
害,你使用是root删除,要用 ElasticSearch 用户删除
curl --user 用户名:密码 -XDELETE 'http://127.0.0.1:9200/python-logstash-2022.08.18'
行了,告辞
