A Docker plugin for Papertrail to send and read container logs. As a SolarWinds Innovation Project, this adapter is supported in a best-effort fashion.
When installing the latest version using docker plugin install, I get the following error:
Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"/usr/bin/docker-papertrail-log-driver\": stat /usr/bin/docker-papertrail-log-driver: no such file or directory": unknown
I am able to install version e6c7852. Looking at the plugin history, there's a significant size difference between this version and the most recent version.
It looks like the log sender will be the node hostname at least in the case where the container is running as a Swarm service which is a bit problematic when you want to separate the systems per container. I would expect the logging driver to use the container hostname which would mean that each service would be counted as a separate sender but that does not seem to be the case.
Steps to reproduce are fairly simple start 2 separate swarm services with the same papertrail url and token.
Below I have presented compose file which was used for deploy.
I have used docker stack deploy --compose-file docker-compose.yml test comamnd
When I run container it work fine but with swarm it doesn't.