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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...