Skip to content
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

🔧 additional VPC flow log fields required for Cortex XSIAM #15

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

kyphutruong
Copy link
Contributor

This PR adds additional fields to the VPC flow logs records.

Currently the flow logs are set have the default log_format with the following fields:

${version} ${account-id} ${interface-id} ${srcaddr} ${dstaddr} ${srcport} ${dstport} ${protocol} ${packets} ${bytes} ${start} ${end} ${action} ${log-status}

This PR will set a custom log_format, which essentially is just appending additional fields to the flow logs and will now have the following fields:

${version} ${account-id} ${interface-id} ${srcaddr} ${dstaddr} ${srcport} ${dstport} ${protocol} ${packets} ${bytes} ${start} ${end} ${action} ${log-status} ${az-id} ${flow-direction} ${instance-id} ${pkt-srcaddr} ${pkt-dstaddr} ${region} ${sublocation-id} ${sublocation-type} ${subnet-id} ${tcp-flags} ${ype} ${vpc-id}

The requirement for this is explained in issue XSIAM: VPC Flow log custom filters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants