Closed qbvysakh closed 7 years ago
hey @vysakhqb the docker environment variable should come before the image name:
docker run --volume=/var/run/docker.sock:/var/run/docker.sock \
-it \
-e ROUTE_URIS='logstash://localhost:5000' \
vysakh/logspoutudp
PS: when you allocate pseudo-tty (-t option), the logs will be ignored as well
Can this be considered fixed? If so I'll close the issue.
Just another suggestion:
@vysakhqb instead of using the ROUTE_URIS
environment variable you can also just do it like this: docker run --volume=/var/run/docker.sock:/var/run/docker.sock -it vysakh/logspoutudp logstash://localhost:5000
Afterwards you can check the /routes
endpoint to see if everything if the route is properly configured.
I'll close this due to no activity.
My modules.go contains:
run with
docker run --volume=/var/run/docker.sock:/var/run/docker.sock -it vysakh/logspoutudp -e ROUTE_URIS='logstash://localhost:5000'
docker log report