- Tried the step upgrade and found out the Add-on is able to list the auto-discoverable account details till version 5.2.0, however, as and when updating to version 6 (or +), those details just vanish, and the page loads completely but there is no trace of account. The inputs linked to the account start throwing the "Bad Request -- No AWS account named xyz exists" error. When rolling back to the 5x version this resolves and again it auto-fetched the account details back.
- According to the custom script logs that were created including the curl commands to know more details as these are been used to auto-discover the roles, the request to http://169.254.169.254/latest/api/token URL to obtain a token to list auto-discover role information was unsuccessful and resulted in IOError.
- In the 6.x versions of the add-on, IMDSv2 API calls are used to fetch the metadata token to retrieve information about the EC2 instance. If Splunk is accessed from the docker container, then the request made to http://169.254.169.254/latest/api/token URL to obtain a token to list auto-discover role information will be unsuccessful and will result in IOError.
- To access the metadata from a Docker container running on an EC2 instance, a configuration change is required on the EC2 instance itself, which can be done through the AWS portal.
When working in a containerized environment, it's important to consider the hop limit setting. If the hop limit is set to 1, the response from IMDSv2 (Instance Metadata Service version 2) may not be returned when accessing it from within a container. This is because accessing the metadata from the container is considered an additional network hop. To ensure the IMDSv2 response is properly returned, the hop limit should be adjusted to 2.
Find an IAM role within your Splunk platform instance
Avoid problems with instance metadata retrieval
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
30-Sep-2026
|
Initial Release |