Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elasticsearch output can report an incorrect count for active events #39146

Open
faec opened this issue Apr 22, 2024 · 5 comments · May be fixed by #39413
Open

Elasticsearch output can report an incorrect count for active events #39146

faec opened this issue Apr 22, 2024 · 5 comments · May be fixed by #39413
Assignees
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

Comments

@faec
Copy link
Contributor

faec commented Apr 22, 2024

The metrics value monitoring.metrics.beat.libbeat.output.events.active can be skewed to inaccurate totals. I observed this in main after heavy ingestion that concluded (with all events ingested and no genuine active events) with an events.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.

@faec faec added bug Team:Elastic-Agent Label for the Agent team labels Apr 22, 2024
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent (Team:Elastic-Agent)

@faec faec added the good first issue Indicates a good issue for first-time contributors label Apr 22, 2024
@ycombinator ycombinator added the Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team label Apr 26, 2024
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

@pierrehilbert
Copy link
Collaborator

Hey @yugalkaushik what are you looking for exactly?
Is it related to this issue?

@yugalkaushik
Copy link

yugalkaushik commented Apr 30, 2024 via email

@pierrehilbert
Copy link
Collaborator

Best would be to open another issue to discuss this and avoid bringing content not related to this issue here.
You can start by looking at https://www.elastic.co/guide/en/beats/devguide/current/beats-contributing.html to get more information about how to contribute.

@faec faec self-assigned this May 6, 2024
@faec faec linked a pull request May 6, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants