Skip to content

A Container logging other containers logs to Google Cloud Logging.

License

Notifications You must be signed in to change notification settings

jkawamoto/docker-google-fluentd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Google Fluentd

MIT License Release Dockerhub Image information

A Container logging other containers logs to Google Cloud Logging.

Preparation

Build an image:

$ docker build -t jkawamoto/docker-google-fluentd .

or just pull the image from Docker Hub:

$ docker pull jkawamoto/docker-google-fluentd

Usage

$ 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 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.

About

A Container logging other containers logs to Google Cloud Logging.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages