All Apps and Add-ons

Splunk Add-on for AWS doesn't handle IPv6 CloudFront logs

sbutler4
New Member

The v5.0.1 of the Splunk Add-on for AWS doesn't properly parse CloudFront access logs from IPv6 clients. You can see in the props.conf has this extraction:

EXTRACT-cloudfront_web = ^\s*(?P<date>[0-9-]+)\s+(?P<time>[0-9:]+)\s+(?P<x_edge_location>[^\s]+)\s+(?P<sc_bytes>\d+)\s+(?P<c_ip>[0-9.]+) ...

EXTRACT-cloudfront_rtmp = ^\s*(?P<date>[0-9-]+)\s+(?P<time>[0-9:]+)\s+(?P<x_edge_location>[^\s]+)\s+(?P<c_ip>[0-9.]+) ...

Those patterns for c_ip will only match IPv4, not IPv6. As a result I don't get extracted fields on my access log lines that come from IPv6 clients.

0 Karma
Get Updates on the Splunk Community!

App Building 101 - Build Your First App!

WATCH RECORDING NOW   Tech Talk: App Dev Edition Splunk has tons of out-of-the-box functionality, and you’ve ...

Introducing support for Amazon Data Firehose in Splunk Edge Processor

We’re excited to announce a powerful update to Splunk Data Management with added support for Amazon Data ...

The Observability Round-Up: September 2024

What’s up Splunk Community! Welcome to the latest edition of the Observability Round-Up, a monthly series in ...