你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...

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'

 

行了,告辞

 

posted @   林诺欧巴  阅读(1081)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· .NET Core 中如何实现缓存的预热?
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 如何调用 DeepSeek 的自然语言处理 API 接口并集成到在线客服系统
· 【译】Visual Studio 中新的强大生产力特性
点击右上角即可分享
微信分享提示