Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tombh/gcloud_pipe_logger
- Owner: tombh
- License: mit
- Created: 2018-02-07T16:04:29.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-07T16:39:10.000Z (almost 7 years ago)
- Last Synced: 2024-06-20T19:22:41.236Z (5 months ago)
- Topics: google-cloud, logging
- Language: Go
- Size: 5.86 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.