发现es不收日志logstash日志报错文章来源:https://uudwc.com/A/9Ln3D
[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://uudwc.com/A/9Ln3D