-
Notifications
You must be signed in to change notification settings - Fork 458
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
Fix/checkpoint session logs #12167
base: main
Are you sure you want to change the base?
Fix/checkpoint session logs #12167
Conversation
impacted fields: - checkpoint.last_hit_time - checkpoint.creation_time - checkpoint.duration
…te readme file
Pinging @elastic/sec-deployment-and-devices (Team:Security-Deployment and Devices) |
…possible dynamic mapping changes - `checkpoint.aggregated_log_count`: keyword (dynamic) to integer - `checkpoint.connection_count`: keyword (dynamic) to integer - `checkpoint.update_count`: keyword (dynamic) to integer
BTW, I mentioned it in the changelog but not in the PR commit message but this change will probably result in a mapping change for the three non-ECS fields ( |
Proposed commit message
This PR aims to handle Check Point firewall session logs in reagrd of the ECS structure.
Session logs are used to aggregate multiple connection logs from the same network activity into a single event. This aggregation adds a few fields:
creation_time
records the time (as an UNIX timestamp) of the first connection for the current sessionlast_hit_time
records the time (as an UNIX timestamp) of the last recorded connection for the current sessionduration
records the duration (in seconds) of the sessionaggregated_log_count
counts the amount of connection logs aggregated in this session logconnection_count
counts the amount of connection recorded in the session logupdate_count
counts the number of time the session was updatedThis PR will:
creation_time
andlast_hit_time
as a date and stores them into the ECS fieldsevent.start
andevent.end
respectivelyduration
to a nanoseconds duration as per the ECSevent.duration
specification and stores it into the expected event.duration` fieldcheckpoint.aggregated_log_count
,checkpoint.connection_count
andcheckpoint.update_count
are mapped to a numeric typeChecklist
changelog.yml
file.Author's Checklist
How to test this PR locally
Related issues