No commit activity in last 3 years
No release in over 3 years
Fluentd plugin to decode Raven data.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

>= 0
>= 3.0.0

Runtime

 Project Readme

fluent-plugin-raven-decoder

Fluentd plugin to decode Raven data.

Raven is a client for Sentry.

Gem Version Build Status

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",...