Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tombh/gcloud_pipe_logger

Log to Google Cloud's Stackdriver logger simply by piping to a single static binary
https://github.com/tombh/gcloud_pipe_logger

google-cloud logging

Last synced: 11 days ago
JSON representation

Log to Google Cloud's Stackdriver logger simply by piping to a single static binary

Awesome Lists containing this project

README

        

# Google Cloud Stackdriver Pipe Logger

`some_process >2&1 | gcloud_pipe_logger "some-process-logs"`

`GOOGLE_APPLICATION_CREDENTIALS` and `GCLOUD_PROJECT_ID` need to be in the ENV.

There are 2 main methods to logging on Google Cloud's Stackdriver; either with
Fluentd or in-app client libraries (eg; Ruby, Python, etc libs). If you only
have basic requirements then it can easily be overkill to use either of those
methods.

So just download one of the prebuilt static binaries from the [releases](https://github.com/tombh/gcloud_pipe_logger/releases) and away you go.