-
Notifications
You must be signed in to change notification settings - Fork 460
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
checkpoint: fix handling of R81 fields #3800
Conversation
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
🌐 Coverage report
|
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!
- convert: | ||
field: checkpoint.bytes | ||
type: long | ||
ignore_missing: true | ||
- rename: | ||
field: checkpoint.bytes | ||
target_field: network.bytes |
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.
Thinking of doing this in a single step -
- convert: | |
field: checkpoint.bytes | |
type: long | |
ignore_missing: true | |
- rename: | |
field: checkpoint.bytes | |
target_field: network.bytes | |
- convert: | |
field: checkpoint.bytes | |
target_field: network.bytes | |
type: long | |
ignore_missing: true |
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.
That leaves the value in checkpoint.bytes
.
- convert: | ||
field: checkpoint.packets | ||
type: long | ||
ignore_missing: true | ||
- rename: | ||
field: checkpoint.packets | ||
target_field: network.packets |
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.
Thinking of doing this in a single step -
- convert: | |
field: checkpoint.packets | |
type: long | |
ignore_missing: true | |
- rename: | |
field: checkpoint.packets | |
target_field: network.packets | |
- convert: | |
field: checkpoint.packets | |
type: long | |
target_field: network.packets | |
ignore_missing: true |
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.
as above
What does this PR do?
Fixes handling of numeric and duplicated fields and removes undocumented fields that appear to be new in R81.
Checklist
changelog.yml
file.Author's Checklist
How to test this PR locally
Related issues
Screenshots