fluent-plugin-raven-decoder
Fluentd plugin to decode Raven data.
Installation
Add this line to your application's Gemfile:
gem 'fluent-plugin-raven-decoder'
And then execute:
$ bundle
Or install it yourself as:
$ gem install fluent-plugin-raven-decoder
Configuration
<match raven.error>
type raven_decoder
prefix decoded
#data_field data
#ignore_fields ["modules", "exception"]
</match>
Usage
# Raven data
# see https://github.com/cookpad/raven-transports-fluentd
DATA='{"auth_header":"Sentry sentry_version=5, ..." "data":"eJz...="}'
echo $DATA | fluent-cat raven.error
# decoded to: {"event_id":"747...","message":"ZeroDivisionError: divided by 0",...