All Apps and Add-ons

Splunk_TA_aws, aws_iam_role and VPC endpoints

antonyp
New Member

Hello,

I want to install a Splunk forwarder in an EC2 to collect AWS metrics but i have a problem.
I configured AWS_STS_REGIONAL_ENDPOINTS=regional environment variable to use regional endpoint instead of generic sts.amazonaws.com. The goal is to call private VPC endpoints to speak with AWS services. But I can't find a proper way to configure sts region to use. Default region seems to be hard coded in DEFAULT_REGION (/opt/splunk/etc/apps/Splunk_TA_aws/bin/splunk_ta_aws/common/credentials.py).

For now I use sed -i 's/us-west-1/eu-west-1/g' /opt/splunk/etc/apps/Splunk_TA_aws/bin/splunk_ta_aws/common/credentials.py to fix my problem but is it very ugly. Do you know a proper way to do that ? Maybe a feature request ?

Thanks

Tags (2)
0 Karma
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...