All Apps and Add-ons

Index S3 logs

New Member

Hello !

I am having trouble indexing only the S3 logs and not any other objects within a S3 bucket.
I am using Splunk Add-on for AWS Splunk_TA_aws 1.1.1.
I have a IAM role defined with access to my bucket and that seems to work fine.
I have also enabled logging for my bucket. That created a logs/ key within my bucket. All log files are within that key, for instance:

However, when running a search all of the objects within the bucket are indexed.
Here is my config file:

$ cat /opt/splunk/etc/apps/Splunk_TA_aws/local/inputs.conf
aws_account = test-account
blacklist = ^.$
bucket_name = test-bucket
character_set = auto
host_name =
initial_scan_datetime = default
interval = 1800
key_name = logs
max_items = 100000
max_retries = 10
recursion_depth = -1
sourcetype = aws:s3
whitelist = ^.

What am I missing ?

your help is much appreciated,

0 Karma

Splunk Employee
Splunk Employee

you should probably configure a whitelist describing the files that you want:

0 Karma
Get Updates on the Splunk Community!

Admin Your Splunk Cloud, Your Way

Join us to maximize different techniques to best tune Splunk Cloud. In this Tech Enablement, you will get ...

Cloud Platform | Discontinuing support for TLS version 1.0 and 1.1

Overview Transport Layer Security (TLS) is a security communications protocol that lets two computers, ...

New Customer Testimonials

Enterprises of all sizes and across different industries are accelerating cloud adoption by migrating ...