All Apps and Add-ons

AWS no billing

helptec3012
Engager

HI,
trying to use Splunk App for AWS, but no chance to get any billing into Splunk
I have multiple accounts mapped in to my main account with Consolidated Billing in AWS

How do I get Billing information into my Splunk App?
- In my app.conf I only put in the API key and Secret ID for my MAIN account only!

Do I need to enter all my API keys and Secret IDs for my accounts I have under consolidated billing? Is there a special order?
What if I do not have all Secret IDs and API keys for all accounts?

Thanks
Florian

Tags (1)

xueshanf
Explorer

Hi Florian,

You might have resolved your issue since it's been a while. Anyway, here is the steps that I think to setup the billing and usage configuration.

  1. In your main account, enable AWS programmatic detailed billing service. It delivers CSV files to a bucket in your account
  2. Create an IAM user in the main account to give it "Read Only" access to the S3 billing bucket. Assign key and key secret. Do not use your main account's key and key secret for this.
  3. In aws.conf configuration, config [keys] and [misc] section with the main account's IAM user's key, key secret (e.g. the IAM user that has access to the billing S3 bucket), main account's name and account's number, and main account's S3 bucket.

Restart splunk service.

I have documented some details here.

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...