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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...