-
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
Cherry-pick #18683 to 7.x: LIBBEAT: Enhancement Convert dissected values from String to other basic data types and IP #19838
Conversation
Pinging @elastic/integrations (Team:Integrations) |
Pinging @elastic/integrations-services (Team:Services) |
CHANGELOG.next.asciidoc
Outdated
- Add the `ignore_failure` configuration option to the dissect processor. {pull}19464[19464] | ||
- Add the `overwrite_keys` configuration option to the dissect processor. {pull}19464[19464] | ||
- Add support to trim captured values in the dissect processor. {pull}19464[19464] | ||
- Added the `max_cached_sessions` option to the script processor. {pull}19562[19562] |
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.
Extra entries :)
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.
oh please, sorry
@@ -232,3 +232,179 @@ func TestErrorFlagging(t *testing.T) { | |||
assert.Error(t, err) | |||
}) | |||
} | |||
|
|||
func TestIgnoreFailure(t *testing.T) { |
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.
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.
ahh sorry I missed this before approving...
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.
woaw! Good catch! You really impressed me 😃
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.
Hmmm, now it seems like we are completely missing TestProcessorConvert
in this backport?
💔 Tests FailedExpand to view the summary
Build stats
Test stats 🧪
Test errorsExpand to view the tests failures
Steps errorsExpand to view the steps failures
Log outputExpand to view the last 100 lines of log output
|
d8aabf8
to
3a344ac
Compare
…sic data types and IP (elastic#18683) (cherry picked from commit 84d75e5)
3a344ac
to
bc2d629
Compare
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.
Cherry-pick of PR #18683 to 7.x branch. Original message:
What does this PR do?
This PR enhances dissect processor to convert string values to integer, long, float, double, boolean or IP. Key and convert data type are separated by
|
separator.Why is it important?
It will save CPU cycles converting data from string to other data type using Convert processor
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.How to test this PR locally
Added unit and benchmark test cases.
Related issues
Closes elastic/dissect-specification#10