Skip to content

Recfive/logspout-loggly

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logspout-loggly

Logspout container for Docker and Loggly.

This repo follows this suggested pattern from logspout

You can build the image yourself

docker build -t logspout-loggly ./

or you can pull a prebuilt image

docker pull iamatypeofwalrus/logspout-loggly

How to run

docker --run 'logspout-loggly'\
  -d \
  -e 'LOGGLY_TOKEN=<token>' \
  --volume /var/run/docker.sock:/tmp/docker.sock \
  iamatypeofwalrus/logspout-loggly

How it works

Instead of linking containers together or bothering with syslog or remote syslog this container follows the 12 Factor app logging philosophy. If your docker container(s) log(s) to STDOUT this image will pick up that stream from the docker daemon send those events to Loggly.

TODO

  • add pool of workers to send requests to Loggly in case of noisy, high event containers
  • Support router.Routes filters via environment variables

About

Logspout container for Docker and Loggly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 97.1%
  • Makefile 2.9%