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!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...