记录 logstash 事件的 Ruby 日志记录器
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)暂无开放 Issues,或尚未同步最近议题。