Sha256: d456acc8127a08e2fa17b9ad4f82fadc83745a3a20cc6b0bf3d13ca408d00d4d
Contents?: true
Size: 1.63 KB
Versions: 1
Compression:
Stored size: 1.63 KB
Contents
Loggly plugin for [Fluentd](http://www.fluentd.org) ============= With fluent-plugin-loggly you will be able to use [Loggly](http://loggly.com) as output the logs you collect with Fluentd. ## Getting Started for Gen2 ([Read here for the difference between Gen1 and Gen2](https://www.loggly.com/docs/gen2-overview-for-gen1-users/)) * Install [Fluentd](http://www.fluentd.org/download) * gem install fluent-plugin-loggly * Make sure you have an account with Loggly. * Configure Fluentd as below: ~~~~~ <match your_match> type loggly loggly_url https://logs-01.loggly.com/inputs/xxx-xxxx-xxxx-xxxxx-xxxxxxxxxx </match> ~~~~~ or if you want to use buffered plugin: ~~~~~ <match your_match> type loggly_buffered loggly_url https://logs-01.loggly.com/bulk/xxx-xxxx-xxxx-xxxxx-xxxxxxxxxx output_include_time true # add 'timestamp' record into log. (default: true) buffer_type file buffer_path /path/to/buffer/file flush_interval 10s </match> ~~~~~ Note that buffered plugin uses bulk import to improve performance, so make sure to set Bulk endpoint to loggly_url. The `xxx-xxxx...` is your Loggly access token. ## Getting Started for Gen 1 * Install fluentd http://fluentd.org * gem install fluent-plugin-loggly * Make sure you have an account at loggly.com. * Create a input. * Choose service type: HTTP * JSON logging: true * Get the url that could by used to do HTTPS POST (this will be used for configuration of the plugin). It should be something like https://logs.loggly.com/inputs/xxx-xxxx-xxxx-xxxxx-xxxxxxxxxx ## Parameters **loggly_url** the url to your loggly input (string).
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fluent-plugin-loggly-0.0.5 | README.md |