Sha256: 5a142c3eca524af239e5e1f7b3d65d004ed4a42b500f7c17e266cbf21e9b82cc

Contents?: true

Size: 1.09 KB

Versions: 1

Compression:

Stored size: 1.09 KB

Contents

# fluent-plugin-raven-decoder

Fluentd plugin to decode Raven data.

[Raven](https://github.com/getsentry/raven-ruby) is a client for [Sentry](https://getsentry.com/welcome/).

[![Gem Version](https://badge.fury.io/rb/fluent-plugin-raven-decoder.svg)](http://badge.fury.io/rb/fluent-plugin-raven-decoder)
[![Build Status](https://travis-ci.org/winebarrel/fluent-plugin-raven-decoder.svg?branch=master)](https://travis-ci.org/winebarrel/fluent-plugin-raven-decoder)

## Installation

Add this line to your application's Gemfile:

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

```sh
# 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",...
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fluent-plugin-raven-decoder-0.1.1 README.md