grafana监控采集不到数据
已经注释掉Decode_Field_As escaped log try_next
fluent-bit [2021/12/20 02:28:42] [error] [out_es] could not pack/validate JSON response
fluent-bit{"took":0,"errors":true,"items":[{"index":{"_index":"ks-logstash-log-2021.12.16","_type":"flb_type","_id":"iLar1X0BPsuyhJ1pbxCV","status":403,"error":{"type":"cluster_block_exception","reason":"blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"}}},{"index":{"_index":"ks-logstash-log-2021.12.16","_type":"flb_type","_id":"ibar1X0BPsuyhJ1pbxCV","status":403,"error":{"type":"cluster_block_exception","reason":"blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"}}},{"index":{"_index":"ks-logstash-log-2021.12.16","_type":"flb_type","_id":"irar1X0BPsuyhJ1pbxCV","status":403,"error":{"type":"cluster_block_exception","reason":"blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"}}},{"index":{"_index":"ks-logstash-log-2021.12.16","_type":"flb_type","_id":"i7ar1X0BPsuyhJ1pbxCV","status":403,"error":{"type":"cluster_block_exception","reason":"blocked by: [FORBIDDEN/12/index read-only / allow de
grafana正常采集数据
你的fluent-bit 数据 应该不是标准的json.
可能需要把fluent-bit去掉。
像这样。
{"key":"value"}
{"key":[]}
等json数据结构。