simple ruby app which pushes logs from docker containrs to loggly, 0 features
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Dockerfile
Gemfile
Gemfile.lock
README.md
app.rb
container_info.rb
docker_http_log_decoder.rb
http_socket_log_reader.rb
http_socket_log_stream.rb
json_finder.rb
log_printer.rb
loggly_pusher.rb
socket_examples.rb
threaded_container_watcher.rb
threaded_log_handler.rb

README.md

docker build -t pushloggly .

docker run -it -v /var/run/docker.sock:/var/run/docker.sock pushloggly <token>

alt you can use LOGGLY_TOKEN env var

docker run -it -e LOGGLY_TOKEN=<token> -v /var/run/docker.sock:/var/run/docker.sock pushloggly