honeycombio / agentless-integrations-for-aws

Lambda-based AWS integrations for Honeycomb
Apache License 2.0
48 stars 24 forks source link

fix(vpc-flow-log): correct regex pattern #236

Closed brookesargent closed 7 months ago

brookesargent commented 7 months ago

Which problem is this PR solving?

A customer reported having trouble getting VPC Flow Logs into Honeycomb. The Lambda errors and is unable to parse the logs.

Short description of the changes

After reviewing our regex against the documented VPC Flow Log, I noticed we are looking for start_time and end_time but the log has start and end. This PR adjusts the regex to match the log.