你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'
行了,告辞
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· .NET Core 中如何实现缓存的预热?
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 如何调用 DeepSeek 的自然语言处理 API 接口并集成到在线客服系统
· 【译】Visual Studio 中新的强大生产力特性