-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[filebeat][httpjson] Fix counter for number of published events #31993
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to have a test for this, but it's not critical.
This pull request is now in conflicts. Could you fix it? 🙏
|
I guess this could be merged? Could you please fix the conflicts in the changelog? |
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
* Fix counter used for logging number of published events * Update CHANGELOG
What does this PR do?
Fixes a counter that tracks the number of processed and published events when handling responses for
httpjson
input.Why is it important?
The total number of events sent to ES would be logged incorrectly.
Checklist
[ ] I have commented my code, particularly in hard-to-understand areas[ ] I have made corresponding changes to the documentation[ ] I have made corresponding change to the default configuration files[ ] I have added tests that prove my fix is effective or that my feature worksCHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.