All Apps and Add-ons

Splunk App for AWS: How to prevent Splunk AWS API queries from consuming 80% of my daily license?

chrisprangnell
Path Finder

Before I added IAM logging for CloudTrail, my Splunk volume was at 150meg for the day.
After I added IAM logging for CloudTrail, my splunk volume moved to 700meg a day. A huge huge shift.

Most of which seems to be Splunk account instigated events querying the AWS API for information to populate the AWS app dashboards. AWS API describe events I'm guessing

How can we stop Splunk related activity being pulled and using 80% of my license?

0 Karma
1 Solution

_d_
Splunk Employee
Splunk Employee

Chris, note that for CloudTrail you can blacklist based on event names. E.g.: this blacklist regex will omit Describes, List and Get events:

blacklist = ^(?:Describe|List|Get)

See more here: http://docs.splunk.com/Documentation/AddOns/latest/AWS/CloudTrail

View solution in original post

0 Karma

_d_
Splunk Employee
Splunk Employee

Chris, note that for CloudTrail you can blacklist based on event names. E.g.: this blacklist regex will omit Describes, List and Get events:

blacklist = ^(?:Describe|List|Get)

See more here: http://docs.splunk.com/Documentation/AddOns/latest/AWS/CloudTrail

0 Karma

chrisprangnell
Path Finder

But how would that help me?

I only want to stop pulling data that has my splunk access code in it? I think that would filter all the data caused by getting the data if that makes sense.

0 Karma

_d_
Splunk Employee
Splunk Employee

Ah okay, in that case - to scope filtering on a specific string of the event you need to use props/transforms. There is a sample here: http://docs.splunk.com/Documentation/Splunk/6.4.1/Forwarding/Routeandfilterdatad#Discard_specific_ev...

0 Karma

chrisprangnell
Path Finder

The problem with this is that im still using my Splunk volume license to pull data i do not want.

0 Karma

_d_
Splunk Employee
Splunk Employee

Filtering data out before indexing does not impact license.

0 Karma

chrisprangnell
Path Finder

Brilliant thank you!

0 Karma

chrisprangnell
Path Finder

The different of which is 4-6gig a day compared to 120meg.

0 Karma
Get Updates on the Splunk Community!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...