发现es不收日志logstash日志报错文章来源:https://www.toymoban.com/news/detail-538882.html
[INFO ][logstash.outputs.elasticsearch] retrying failed action with response code: 403 ({“type”=>“cluster_block_exception”, “reason”=>“blocked by: [FORBIDDEN/12/index read-only / allow delete (a在这里插入代码片
pi)];”})
解决办法:
在es命令行输入:
curl -XPUT -H ‘Content-Type: application/json’ http://localhost:9200/_all/_settings -d ‘{“index.blocks.read_only_allow_delete”: null}’
重启es即可文章来源地址https://www.toymoban.com/news/detail-538882.html
到了这里,关于logstash报错es接收不了日志解决问题的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!