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.
Note
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):
us-east-1
[ec2] software.amazon.awssdk.services.ec2.model.Ec2Exception: 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:
client.describeInstanceStatus(),
client.describeTags(),
client.describeReservedInstances(),
client.describeReservedInstancesModifications()
client.describeOrganization()
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.
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:
Get the integration object from the API:
curl --request GET https://api..signalfx.com/v2/integration/ \
--header "X-SF-TOKEN:" \
--header "Content-Type:application/json" > integration.json
Modify the file to include
ignoreAllStatusMetrics
, and set it tofalse
.Remove the following fields from the call as these will be populated automatically:
``created``
``createdByName``
``creator``
``lastUpdated``
``lastUpdatedBy``
``lastUpdatedByName``
Update the integration object via the API:
curl --request PUT https://api..signalfx.com/v2/integration/ \
--header "X-SF-TOKEN:" \
--header "Content-Type:application/json" \
--data "@integration.json"