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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...