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: 13 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 (over 7 years ago)
- Last Synced: 2024-04-11T15:27:09.545Z (7 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
[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE)
[![Release](https://img.shields.io/badge/release-1.0.2-brightgreen.svg)](https://github.com/jkawamoto/docker-google-fluentd/releases/tag/v1.0.2)
[![Dockerhub](https://img.shields.io/badge/dockerhub-jkawamoto%2Fdocker--google--fluentd-blue.svg)](https://hub.docker.com/r/jkawamoto/docker-google-fluentd/)
[![Image information](https://images.microbadger.com/badges/image/jkawamoto/docker-google-fluentd.svg)](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).