Sha256: 9758a08686b1f5a53f57e0879e6f2dfa9de9d8b16692dbd3b78b98afc67c2933
Contents?: true
Size: 1.58 KB
Versions: 2
Compression:
Stored size: 1.58 KB
Contents
## Getting started 1. Install this plugin with `gem install fluent-plugin-honeycomb` 2. Edit your `fluentd.conf` configuration file. A minimal configuration looks like this: ``` <match your_match> @type honeycomb writekey "YOUR_WRITEKEY" dataset "fluentd_test_dataset" </match> ``` ## Configuration ### Basic options Parameter | Type | Required? | Description | --- | --- | --- | --- | | `writekey` | string | yes | Your Honeycomb write key. | | `dataset` | string | yes | The name of the destination dataset in your Honeycomb account. | | `sample_rate` | integer | no | Sample your event stream by sending 1 out of every N events. | | `include_tag_key` | bool | no | Whether to include the Fluentd tag in the submitted event. | | `tag_key` | string | no | If `include_tag_key` is `true`, the tag key name in the event (default: `fluentd_tag`). ### Buffering options `fluent-plugin-honeycomb` supports the [standard configuration options](http://docs.fluentd.org/v0.12/articles/buffer-plugin-overview) for buffered output plugins. ## Limitations `fluent-plugin-honeycomb` does not currently batch events. This functionality should be implemented in `libhoney-rb`. ## Development I recommend using [rbenv](https://github.com/rbenv/rbenv) for development. To set up Fluentd, run: ``` gem install fluentd fluentd --setup ./fluent ``` Edit the configuration file at `./fluent/fluent.conf`, then run ``` fluentd -c ./fluent/fluent.conf -v ``` A note about naming: This gem must be named `fluent-plugin-xxx` in order to automatically be included in Fluentd's plugin list. See http://www.fluentd.org/faqs.
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fluent-plugin-honeycomb-0.1.2 | README.md |
fluent-plugin-honeycomb-0.1.1 | README.md |