Skip to content

Instantly share code, notes, and snippets.

Created August 6, 2015 19:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/bd4bce82f1980eb634a6 to your computer and use it in GitHub Desktop.
Save anonymous/bd4bce82f1980eb634a6 to your computer and use it in GitHub Desktop.
docker-log-forwarding.sls
logspout_docker_container:
docker.running:
- container: logstash
- image: gliderlabs/logspout
- command: syslog://{{pillar['rsyslog']['destination']}}:514
- volumes:
- /var/run/docker.sock: /tmp/docker.sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment