Public Repository

Last pushed: 6 months ago
Short Description
Test container to emit logs using the logstash-logger gem
Full Description

Usage:

docker run -d -e LOGSTASH_HOST=logstash.domain.com -e LOGSTASH_PORT=6111 -e LOG_DELAY=1 -e LOGSTASH_SYSTEM_NAME=test_system -e LOGSTASH_SERVICE_NAME=test_service --name ruby-logger dezmodue/ruby-logger:0.0.1

Emits logs every LOG_DELAY interval to a logstash endpoint (TCP):

{"message":"The quick brown fox jumps over the lazy dog","@timestamp":"2017-06-14T23:54:15.514+00:00","@version":"1","severity":"INFO","host":"82bf1632cbbc","@system":"test_system","@service":"test_service"}

Docker Pull Command
Owner
dezmodue