Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.77 KB

README.rdoc

File metadata and controls

46 lines (32 loc) · 1.77 KB

Google Cloud Logging plugin for fluentd

fluent-plugin-google-cloud is an output plugin for fluentd which sends logs to the Stackdriver Logging API.

This is an official Google Ruby gem.

<img src=“https://badge.fury.io/rb/fluent-plugin-google-cloud.svg” alt=“Gem Version” /> <img src=“https://secure.travis-ci.org/GoogleCloudPlatform/fluent-plugin-google-cloud.png” alt=“Build Status” />

Installation

This gem is hosted at RubyGems.org and can be installed using:

$ gem install fluent-plugin-google-cloud

Installing google-fluentd will also install and configure the gem.

Configuration

To send logs to Google Cloud Logging, specify type google_cloud in a match clause of your fluentd configuration file, for example:

<match **>
  type google_cloud
</match>

No further configuration is required. The plugin uses Google Application Default Credentials for authorization - for additional information see here.

The previously documented parameters auth_method, private_key_email, and private_key_path are removed, and can no longer be used.

Copyright

Copyright 2014 Google Inc. All rights reserved.

License

Apache License, Version 2.0