-
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
[Filebeat] Improve ECS categorization field mappings for netflow module #18108
Conversation
Pinging @elastic/siem (Team:SIEM) |
- event.category : make array and add network - event.type - related.ip Closes elastic#16135
c328820
to
bda7330
Compare
💔 Build 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
|
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
if len(relatedIP) > 0 { | ||
ecsRelated := common.MapStr{} | ||
ecsRelated["ip"] = relatedIP | ||
event.Fields["related"] = ecsRelated |
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.
event.Fields["related"] = ecsRelated | |
event.Fields["related"] = common.MapStr{"ip": relatedIP} |
…le (elastic#18108) * Improve ECS categorization field mappings for netflow module - event.category : make array and add network - event.type - related.ip Closes elastic#16135 (cherry picked from commit e6d4787)
What does this PR do?
Adds ECS categorization fields to netflow input. Specifically:
Why is it important?
ECS categorization fields improves usability of the data in the SIEM app and improves cross correlation between data sources.
Checklist
- [ ] I have made corresponding changes to the documentation- [ ] I have made corresponding change to the default configuration filesCHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.How to test this PR locally
Related issues
Closes #16135