Fluentd output plugin for Sentry.
$ gem install fluent-plugin-raven
If tag
is specified as bufferd chunk key, it send as tag for Sentry.
dsn
(required): DSN KEY shown at setting pageenvironment
: set environment. default values isdevelopment
logger_level
: set log level of the Sentry logger. default value isinfo
default_level
: set default log level for Sentry. default value iserror
message
(required): message body for sentry as events. A record will be filtered ifmessage
isn't set, because Sentry identify issues bymessage
value.level
: log level for Sentry as events.
<match **>
@type raven
dsn https://12345678@sentry.io/123456
logger_level warn
environment development
<buffer tag>
@type file
path fluentd/log/error.*.buffer
timekey 5m
timekey_wait 1m
flush_interval 1s
</buffer>
</match>
bundle install
bundle exec fluentd -c example/fluentd.conf
- Copyright(c) 2019- Yuto Suzuki
- License
- Apache License, Version 2.0