Using curl to send an HTTP request to localhost:13133 in the ECS task definition's health check command is no longer possible since curl was removed from the Splunk OTel Collector container image.
Users need to find an alternative way to perform this health check through ECS, as using a Load Balancer health check is not an option for their application.
Performing a health check for a Splunk OpenTelemetry Collector container running as a sidecar in an ECS Fargate service is an issue not specific to the Splunk implementation, it originates from the upstream contrib version.
The following python script is a workaround to perform the HTTP request.
python -c "import requests; exit(1) if not \"Server available\" in requests.get('http://localhost:13133').text else exit(0)"
When this knowledge article was written, there was no ticket for performing a health check for a Splunk OpenTelemetry Collector container running as a sidecar in an ECS Fargate service in the Splunk feature request system. A user can create a ticket for free. The Splunk product team reviews the ideas directly, and they would share any updates via that portal. Other users can also see the feature requests and add their comments and upvotes to increase the chances of the idea being picked up.
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
01-Oct-2026
|
Initial Release |