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

PP-13499 VPC flow logs #18

Merged
merged 2 commits into from
Feb 13, 2025
Merged

PP-13499 VPC flow logs #18

merged 2 commits into from
Feb 13, 2025

Conversation

danworth
Copy link
Contributor

Refactor to permit filtering of individual log lines within an event record. Following existing filtering VPC flow logs will only be sent to Splunk if the connection was accepted and not using TCP, UDP or ICMP protocols.

NOTES

Based upon this existing logic for filtering out vpc flow logs: https://github.com/alphagov/pay-cloudwatch-logs-s3-export/blob/main/exports.js#L119

Moves dropping of messages closer the processing of CloudWatch logs to
make it simpler to drop vpc-flow-logs in future.
Refactor to permit filtering of individual log lines within an event
record. Following existing filtering VPC flow logs will only be sent to
Splunk if the connection was accepted and not using TCP, UDP or ICMP
protocols.
Copy link
Contributor

@kbottla kbottla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@danworth danworth merged commit 419364d into main Feb 13, 2025
3 checks passed
@danworth danworth deleted the PP-13499_vpc_flow_logs branch February 13, 2025 10:27
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