All Apps and Add-ons

Splunk App for AWS: Why is the ELB Access Logs Input not indexing?

mvrmoreira
New Member

Hi guys, Im using Splunk Light with Splunk App for AWS.

I connected my AWS account to Splunk correct and added S3 Bucket with aws:elb:accesslogs source type.
My S3 Bucket have many files, but no log appear in the index that I created.

I already red log of topics about this subject but no one helped me.

I neither could find the logs off index operations, where can I found it?

0 Karma

klaxdal
Contributor

Try this - I had the same problem when I implemented back in January this year , in your props.conf file append with the following in TA-AWS props.conf ( under the S3 section )

[aws:elb:accesslogs]
MAX_TIMESTAMP_LOOKAHEAD = 27
EXTRACT-elb = ^(?P[^ ]+)[^ \n]* (?P[^ ]+)\s+(?P[0-9.]+):(?P\d+)\s+(?P[^\s]+)\s+(?P[^\s]+)\s+(?P[^\s]+)\s+(?P[^\s]+)\s+(?P.[^eventtype])\s+(?P.[^eventtype])\s+(?P\d+)\s+(?P\d+)\s+"(?P.+)"\s+"(?P.+)"\s+(?P[-\w]+)\s*(?P[-\w.]+)

EXTRACT-elb = ^(?P[^ ]+)[^ \n]* (?P[^ ]+)\s+(?P[0-9.]+):(?P\d+)\s+(?P[^\s]+)\s+(?P[^\s]+)\s+(?P[^\s]+)\s+(?P[^\s]+)\s+(?P\d+)\s+(?P\d+)\s+(?P\d+)\s+(?P\d+)\s+"(?P.+)"\s+"(?P.+)"\s+(?P[-\w]+)\s*(?P[-\w.]+)

EVAL-rtt = request_processing_time + backend_processing_time + response_processing_time

Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...