= Google Cloud Logging plugin for {fluentd}[http://github.com/fluent/fluentd]
fluent-plugin-google-cloud is an
{output plugin for fluentd}[http://docs.fluentd.org/articles/output-plugin-overview]
which sends logs to the
{Stackdriver Logging API}[https://cloud.google.com/logging/docs/api/].
This is an official Google Ruby gem.
{
}[http://badge.fury.io/rb/fluent-plugin-google-cloud]
{
}[https://travis-ci.org/GoogleCloudPlatform/fluent-plugin-google-cloud]
== Installation
This gem is hosted at
{RubyGems.org}[https://rubygems.org/gems/fluent-plugin-google-cloud]
and can be installed using:
$ gem install fluent-plugin-google-cloud
Installing {google-fluentd}[https://cloud.google.com/logging/docs/agent/]
will also install and configure the gem.
== Configuration
To send logs to Google Cloud Logging, specify type google_cloud
in a
{match clause}[http://docs.fluentd.org/articles/config-file#2-ldquomatchrdquo-tell-fluentd-what-to-do]
of your fluentd configuration file, for example:
type google_cloud
No further configuration is required. The plugin uses
{Google Application Default Credentials}[https://developers.google.com/identity/protocols/application-default-credentials]
for authorization - for additional information see
{here}[https://cloud.google.com/logging/docs/agent/authorization].
The previously documented parameters auth_method, private_key_email,
and private_key_path are removed, and can no longer be used.
== Copyright
Copyright:: Copyright 2014 Google Inc. All rights reserved.
License:: Apache License, Version 2.0