We use the HTTP Endpoint functionality to monitor the internal statistics of Filebeat agents. We have configured Elasticsearch output and write our logs into AWS Elasticsearch index. And we are monitoring the indicator libbeat.output.write.bytes fot type: elasticsearch. But after upgrading Filebeat from 7.6.2 to 7.7.0, this metric stopped changing. And its value is zero. We tried updating the Filebeat version to the most recent one. But it did not help.
Here is an example json output of a statistics request:
curl -s -XGET 'localhost:5066/stats?pretty'
"libbeat": {
"config": {
"module": {
"running": 0,
"starts": 0,
"stops": 0
},
"reloads": 1,
"scans": 1
},
"output": {
"events": {
"acked": 803127,
"active": 0,
"batches": 58574,
"dropped": 0,
"duplicates": 0,
"failed": 0,
"toomany": 0,
"total": 803127
},
"read": {
"bytes": 0,
"errors": 0
},
"type": "elasticsearch",
"write": {
"bytes": 0,
"errors": 0
}
},