Open frossi85 opened 11 months ago
I could solve it by using my own Dockerfile installing what my error said was missing in the original image:
FROM sumologic/collector
ADD file-sumo-sources.json /etc/sumo-sources.json
RUN apt-get update --quiet && \
apt-get install -y lsb-core && \
apt-get reinstall --quiet -y lsb-release
I am trying to run the collector as a sidecar of a main service using AWS ECS Fargate, whch works correctly when deploying it without the collectot, but I am not able to do it due to some errors that are not clear to me.
I created a custom Dockerfile:
file-sumo-sources.json:
It works locally using docker-compose and from ECS it creates the collector in sumologic dashboard but when I deploy it to ECS it fails with messages like this:
Full log:
+. .+'\| \|
+. .+'|=|+.=\|
+. .+'|=|`+.+.\| \| \| \| \| \| \|
+ | `+ | | | | \+.\|=\|
+. | | | | | | | | | | | | | \+.\|=\|.+'
+.|=|.+'+.\| \|.\| \|+'
+.|=|.+'My task definition definition as a sidecar in terraform is:
I could not find any useful information on what could be the issue or how to deploy it on ECS Fargate without using an HTTP source.