You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

fluent-plugin-google-cloud

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fluent-plugin-google-cloud

0.13.3
bundlerRubygems
Version published
Maintainers
1
Created
Source

= Google Cloud Logging plugin for {fluentd}[http://github.com/fluent/fluentd]

fluent-plugin-google-cloud gem includes two plugins:

This is an official Google Ruby gem.

{Gem Version}[http://badge.fury.io/rb/fluent-plugin-google-cloud] {Build Status}[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 embed insertIds into log entries, specify @type add_insert_ids in a {filter clause}[https://docs.fluentd.org/configuration/config-file#3-filter-event-processing-pipeline] of your Fluentd configuration file, for example:

<filter **>
  @type add_insert_ids
  insert_id_key my_insert_id_field_name # Optional.
</filter>

insert_id_key can be used to customize the insertId field name.

To send logs to Google Cloud Logging, specify @type google_cloud in a {match clause}[https://docs.fluentd.org/configuration/config-file#2-match-tell-fluentd-what-to-do] of your Fluentd configuration file, for example:

<match **>
  @type google_cloud
</match>

See detailed instructions on how to configure this output plugin {here}[https://cloud.google.com/logging/docs/agent/configuration#cloud-fluentd-config]. 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].

== Copyright

Copyright:: Copyright 2014 Google Inc. All rights reserved. License:: Apache License, Version 2.0

FAQs

Package last updated on 04 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts