Docs » Connect to your cloud service provider » Connect to AWS and send data to Splunk Observability Cloud » Troubleshoot your AWS connection

Troubleshoot your AWS connection 🔗

If you have a problem connecting Splunk Observability Cloud to your Amazon Web Services (AWS) account, it is most likely caused by conflicts between policies and permissions.


Splunk is not responsible for data availability, and it can take up to several minutes (or longer, depending on your configuration) from the time you connect until you start seeing valid data from your account.

Error validating AWS connection 🔗

The automatic attempt to validate a connection that you just configured fails, so there is no connection between Splunk Observability Cloud and your AWS account.

Cause 🔗

The connection might fail due to mismatched Identity Access Management (IAM) policies. To diagnose connection failure, check the permissions or policies you set up and compare them to the permissions that AWS requires.

Verify whether your error message looks similar to this example:

Error validating AWS / Cloudwatch credentials
Validation failed for following region(s):
[ec2] You are not authorized to perform this operation.

If you receive a similar error message, then the IAM policy that you created to connect AWS to Splunk Observability Cloud does not match the policy already in your AWS account.

Similarly, if your AWS account uses a service control policy (SCP) or administrative features such as PermissionsBoundary, then there might be limits on which calls can be made in your organization, even if those calls are covered by your AWS IAM policy.

Solution 🔗

Splunk Observability Cloud uses the following calls to validate whether it can accept data from the AWS Compute Optimizer tool to support CloudWatch metric streams:


To ensure that your AWS integration works as expected, revisit your configuration choices in Splunk Observability Cloud to verify that they match the permissions policy in your AWS management console.

A match ensures that conflicting permissions do not cause your AWS environment to block integrations. See the “Amazon CloudWatch permissions reference” in the Amazon documentation for details about the available permissions.

Splunk Observability Cloud doesn’t work as expected 🔗

Features or tools within Splunk Observability Cloud do not work as expected.

Cause 🔗

When a feature in Splunk Observability Cloud does not work as expected after connection to AWS, then permissions for that feature in the AWS IAM policy are absent or blocking implementation. For example, ec2:DescribeRegions is used to detect which AWS regions are active in your account. Without that permission, or if no region is specified, then system settings default to AWS standard regions.

Metrics collection also depends on the the permissions you set.

Solution 🔗

Review your IAM policy to ensure it includes the permissions needed for the metrics or other data that you intend to collect.

Once integrated with your Amazon Web Services account, Splunk Observability Cloud can gather CloudWatch metrics, CloudWatch logs, CloudWatch Metric Streams, service logs stored in Amazon S3 buckets, and service tag and property information. But leveraging the full power of the integration requires all included permissions.

Metrics and/or tags for a particular namespace are not displayed 🔗

Metrics and/or tags for a particular namespace are not displayed as expected.

Causes 🔗

If you use the AWS Organizations’ Service control policies and/or Permission boundaries for IAM entities, they might impact the AWS IAM policy you’re using to connect to Observability Cloud.

If you modified the default IAM policy while setting up an integration between Observability Cloud and AWS, then your IAM policy does not list namespaces that were removed as not needed for the original integration, and as a result Observability Cloud ignores metrics for those namespaces.

Solution 🔗

Review the AWS Organizations’ policies and boundaries you’re using.

Also, to ensure that you can see the metrics you expect to monitor, perform the following steps:

  1. Review the default IAM policy shown in Connect to AWS using the Splunk Observability Cloud API to find the entry for the namespace you want.

  2. Add the missing entry to your AWS IAM file. For more information, search for “Editing IAM policies” in the AWS Identity and Access Management documentation.

Status check metrics are missing (Legacy) 🔗

Status check metrics are not displayed.

Cause 🔗

For legacy individual AWS integrations, status check metrics are not enabled by default.

Solution 🔗

Enable the metrics for your integration.

To do so, follow these steps:

  1. Get the integration object from the API:

curl --request GET \
--header "X-SF-TOKEN:" \
--header "Content-Type:application/json" > integration.json
  1. Modify the file to include ignoreAllStatusMetrics, and set it to false.

  2. Remove the following fields from the call as these will be populated automatically:

  1. Update the integration object via the API:

curl --request PUT \
--header "X-SF-TOKEN:" \
--header "Content-Type:application/json" \
--data "@integration.json"