Sha256: a875ab3eb1c7fda0d47a3284a5810382eb6f9dd2caf6ef7fd48c262833d88f25

Contents?: true

Size: 932 Bytes

Versions: 1

Compression:

Stored size: 932 Bytes

Contents

# fluent-plugin-raven

[Fluentd](https://fluentd.org/) output plugin for [Sentry](https://sentry.io/welcome/).


## 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_level`: set default log level for sentry. default value is `error`

### record keys

- `message`: message body for sentry as events.
- `level`: log level for sentry as events.


### Example

```aconf
<match **>
  @type       sentry
  dsn         https://12345678@sentry.io/123456
  environment development
  <buffer tag>
    @type file
    path  fluentd/log/error.*.buffer
    timekey 5m
    timekey_wait 1m
    flush_interval 1s
  </buffer>
</match>
```

## Copyright

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fluent-plugin-raven-0.1.4 README.md