All Apps and Add-ons

How to configure the Splunk App for AWS to index AWS Cloudtrail logs in s3 buckets from last year?

Venkat_16
Contributor

Greetings everyone!!!!

We have configured Splunk app for AWS and everything is working perfectly. Now the AWS application team wants to onboard the logs of AWS cloudtrail for last year (i,e) from Jan 2015 to Dec 2015 which are available in the s3 buckets. Is adding the ignoreOlderThan = 1y in the inputs stanza of cloudtrail inputs.conf a healthy way of doing it? Please guide us on this further.

Thanks in advance!!!!!

0 Karma
1 Solution

rpille_splunk
Splunk Employee
Splunk Employee

Hi Venkat_16. If your historical cloudtrail logs are in an S3 bucket, configure an S3 input to collect them and set the sourcetype for that input stanza to aws:cloudtrail. You can set the initial_scan_datetime parameter in the S3 input to one year ago (using ISO8601 formatting) to collect the specific historical range that you are after.

Here's the relevant add-on documentation: http://docs.splunk.com/Documentation/AddOns/latest/AWS/S3

View solution in original post

0 Karma

rpille_splunk
Splunk Employee
Splunk Employee

Hi Venkat_16. If your historical cloudtrail logs are in an S3 bucket, configure an S3 input to collect them and set the sourcetype for that input stanza to aws:cloudtrail. You can set the initial_scan_datetime parameter in the S3 input to one year ago (using ISO8601 formatting) to collect the specific historical range that you are after.

Here's the relevant add-on documentation: http://docs.splunk.com/Documentation/AddOns/latest/AWS/S3

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...