Remove event_api.tags.illegal for v9#16461
Merged
kaisecheng merged 8 commits intoelastic:mainfrom Oct 15, 2024
Merged
Conversation
5 tasks
5 tasks
…llegal_warn_option
5 tasks
Contributor
Author
|
@mashhur this is ready for review |
mashhurs
approved these changes
Oct 15, 2024
| import java.io.IOException; | ||
| import java.math.BigDecimal; | ||
| import java.math.BigInteger; | ||
| import java.util.*; |
Contributor
There was a problem hiding this comment.
nit: better to import specific classes rather than entire package. I think your IntelliJ (or dev tool) made this change.
|
💚 Build Succeeded
History
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.





_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.illegalflag, which allowed setting non string values to thetagsfield. Since v9, such illegal assignments will fail, resulting in a_tagsparsefailurein thetagsfield, and the illegal value will be written to the_tagsfield.What does this PR do?
The commit removes the
--event_api.tags.illegaloption 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.illegaltowarnas a fallback to accept the illegal assignment oftagsfield.Checklist
Author's Checklist
--event_api.tags.illegal warnthrows Unrecognised option_tagsHow to test this PR locally
bin/logstash -f /path/to/p.conf --event_api.tags.illegal warnshould give Unrecognised optionIt is valid tags and should give no error
It is invalid tags and should give
_tagsparsefailureRelated issues
--event_api.tags.illegal#16507Use cases
Screenshots
Logs