-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Remove event_api.tags.illegal for v9 #16461
Remove event_api.tags.illegal for v9 #16461
Conversation
…llegal_warn_option
@mashhur this is ready for review |
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.
LGTM!
import java.io.IOException; | ||
import java.math.BigDecimal; | ||
import java.math.BigInteger; | ||
import java.util.*; |
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.
nit: better to import specific classes rather than entire package. I think your IntelliJ (or dev tool) made this change.
Quality Gate passedIssues Measures |
💚 Build Succeeded
History
|
_Do Not Merge until we got approval from breaking changes committee _
This PR should not backport to 8.x
Release notes
Removed the
--event_api.tags.illegal
flag, which allowed setting non string values to thetags
field. Since v9, such illegal assignments will fail, resulting in a_tagsparsefailure
in thetags
field, and the illegal value will be written to the_tags
field.What does this PR do?
The commit removes the
--event_api.tags.illegal
option which is added in #14822Why is it important/What is the impact to the user?
This is a breaking change. User no longer be able to set
event_api.tags.illegal
towarn
as a fallback to accept the illegal assignment oftags
field.Checklist
Author's Checklist
--event_api.tags.illegal warn
throws Unrecognised option_tags
How to test this PR locally
bin/logstash -f /path/to/p.conf --event_api.tags.illegal warn
should give Unrecognised optionIt is valid tags and should give no error
It is invalid tags and should give
_tagsparsefailure
Related issues
--event_api.tags.illegal
#16507Use cases
Screenshots
Logs