Elasticsearch output can report an incorrect count for active events #39146
Labels
bug
good first issue
Indicates a good issue for first-time contributors
Team:Elastic-Agent
Label for the Agent team
Team:Elastic-Agent-Data-Plane
Label for the Agent Data Plane team
The metrics value
monitoring.metrics.beat.libbeat.output.events.active
can be skewed to inaccurate totals. I observed this inmain
after heavy ingestion that concluded (with all events ingested and no genuine active events) with anevents.active
of 959.filebeat.events.active
showed the correct total of 0. (Of the two, Filebeat is usually the lagging metric, since it receives acknowledgment notifications later than the output.)The run where this issue was observed involved both batch splitting and 529 errors from upstream, so either or both of those could be factors.
The text was updated successfully, but these errors were encountered: