Low commit activity in last 3 years
No release in over a year
sentry output plugin for Fluentd
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 0.14.10, < 2
 Project Readme

fluent-plugin-raven

Fluentd output plugin for Sentry.

Installation

$ gem install fluent-plugin-raven

Configuration

Tag

If tag is specified as bufferd chunk key, it send as tag for Sentry.

config params

  • dsn (required): DSN KEY shown at setting page
  • environment : set environment. default values is development
  • logger_level : set log level of the Sentry logger. default value is info
  • default_level: set default log level for Sentry. default value is error

record keys

  • message (required): message body for sentry as events. A record will be filtered if message isn't set, because Sentry identify issues by message value.
  • level: log level for Sentry as events.

Example

<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>

Development

bundle install
bundle exec fluentd -c example/fluentd.conf

Copyright

  • Copyright(c) 2019- Yuto Suzuki
  • License
    • Apache License, Version 2.0