Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jkawamoto/docker-google-fluentd
A Container logging other containers logs to Google Cloud Logging.
https://github.com/jkawamoto/docker-google-fluentd
Last synced: 7 days ago
JSON representation
A Container logging other containers logs to Google Cloud Logging.
- Host: GitHub
- URL: https://github.com/jkawamoto/docker-google-fluentd
- Owner: jkawamoto
- License: mit
- Created: 2015-06-07T13:40:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-30T20:39:10.000Z (almost 8 years ago)
- Last Synced: 2024-12-20T00:42:48.481Z (2 months ago)
- Language: Shell
- Size: 11.7 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker Google Fluentd
[](LICENSE)
[](https://github.com/jkawamoto/docker-google-fluentd/releases/tag/v1.0.2)
[](https://hub.docker.com/r/jkawamoto/docker-google-fluentd/)
[](http://microbadger.com/images/jkawamoto/docker-google-fluentd)A Container logging other containers logs to Google Cloud Logging.
## Preparation
Build an image:
```sh
$ docker build -t jkawamoto/docker-google-fluentd .
```or just pull the image from Docker Hub:
```sh
$ docker pull jkawamoto/docker-google-fluentd
```## Usage
```sh
$ docker run -d --name fluentd -e "INSTANCE=some-name" \
-v /var/lib/docker:/var/lib/docker jkawamoto/docker-google-fluentd
```
where environment variable **INSTANCE** is used to add the instance name to each log record.### Other environment variables
#### TAG
Customizes the tag of log records
and which log those records will be stored in Google Cloud Logging.
See [API document of Google Cloud Logging](https://cloud.google.com/logging/docs/api/) for more details.#### USERNAME
Used to add a username field to each log record.## License
This software is released under the MIT License, see [LICENSE](LICENSE).