Sha256: 86c38a9e15787500037c88308dc5e38f9f85cdc5ea0d0f51bac60c5754482c1f

Contents?: true

Size: 1.4 KB

Versions: 1

Compression:

Stored size: 1.4 KB

Contents

Loggly plugin for [Fluentd](http://www.fluentd.org)
=============

[![Gem](https://img.shields.io/gem/dt/fluent-plugin-loggly.svg)](https://rubygems.org/gems/fluent-plugin-loggly)

With fluent-plugin-loggly you will be able to use [Loggly](http://loggly.com) as output the logs you collect with Fluentd.

## Getting Started
* Install [Fluentd](http://www.fluentd.org/download)
* `gem install fluent-plugin-loggly` or if you are using the agent `td-agent-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)
      time_precision_digits 3 # Include 3 digits of sub-second precision (default: 0). Require version 0.14 of fluentd.
      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.

## 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.1.0.pre README.md