Ruby logger that writes logstash events
LogStashLogger extends Ruby's Logger class to log directly to
Logstash.
It supports writing to various outputs in logstash JSON format. This is an improvement over
writing to a file or syslog since Logstash can receive the structured data directly.
LogStash::Event, an object, or a JSON string as input.Add this line to your application's Gemfile:
gem 'logstash-logger'And then execute:
$ bundleOr install it yourself as:
$ gem install logstash-loggerVerified to work with:
Ruby versions < 3.2 are EOL'ed and no longer supported.
git checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)No open issues yet, or sync has not completed.