Skip to content
Fluentd plugin for output to loggly
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib new version for json encoding fix Nov 3, 2015
.gitignore First commit Jun 13, 2012
Gemfile First commit Jun 13, 2012
LICENSE First commit Jun 13, 2012
README.md Updated Jan 28, 2016
Rakefile First commit Jun 13, 2012
fluent-plugin-loggly.gemspec Add missing license entry in gemspec Jan 27, 2016

README.md

Loggly plugin for Fluentd

Gem

With fluent-plugin-loggly you will be able to use Loggly as output the logs you collect with Fluentd.

Getting Started

  • Install Fluentd
  • 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)
      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).

Something went wrong with that request. Please try again.