-
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
[libbeeat] add DropFields processor to js API #33458
[libbeeat] add DropFields processor to js API #33458
Conversation
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
@ mergify🤖 : sorry, but I'm not allowed to add labels in this repo |
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
@mib1185 would you mind updating this PR with the latest changes on |
5631961
to
c13dd26
Compare
@mib1185 Could you also add a changelog entry? After that it will be good to merge. |
hi @belimawr |
My plan was to skip the backport labels, I saw this PR like an enhancement rather than a bug-fix that should be backported. Does it make sense to you? Or what are your thoughts on that? |
I agree that this is not a bugfix, but on the other hand it could also be a benefit for users of the 7.17 (like myself) 🙂 |
f5c57f7
to
1dfdf37
Compare
I totally get that, but we can only backport bug fixes to 7.17. That's a good opportunity for you to upgrade to the latest 8.x release ;) I see a couple of checks are still failing, could you run:
From the root of the project and commit any changes? |
Probably the checks will pass after merging the go.mod updates from #33789 to fix CI in beats in general. |
1dfdf37
to
c9ee543
Compare
I totally understand that (and also willed to do), but I'm actually "forced" to use 7.17, because the upstream system is still based on logstash 7.17 which I do not have any chance to change it for now (not under my responsibility) 🙈
Would it be convenient for you, when we say we fix the missing JS API availablity of the drop_fields processor? 😁
will give it a try tomorrow, rebase unfortunately seems not to solve the CI issues 🙁 |
If you don't manage to fix it, I can also give it a shot. |
Nothing prevents you from running your own fork ;). |
Would be great if you could give it a try 🙂 |
This pull request is now in conflicts. Could you fix it? 🙏
|
Let's see if the latest changes on |
Please retry analysis of this Pull-Request directly on SonarCloud. |
Co-authored-by: Tiago Queiroz <[email protected]>
What does this PR do?
This will register the
drop_fields
processor to the JavaScript API asDropFields
, so that it can be used in custom js processors like already used to do with AddFields and many more.Should also be backported to 7.17.
Why is it important?
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs