https://github.com/fabric8io/docker-fluentd-kubernetes
https://github.com/fabric8io/docker-fluentd-kubernetes
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fabric8io/docker-fluentd-kubernetes
- Owner: fabric8io
- License: apache-2.0
- Created: 2015-03-08T00:06:12.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-06-14T13:57:53.000Z (over 8 years ago)
- Last Synced: 2025-03-03T01:35:32.604Z (7 months ago)
- Language: Shell
- Size: 46.9 KB
- Stars: 41
- Watchers: 21
- Forks: 45
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Fluentd Log Collector For Kubernetes
[]()
This image captures logs from Docker containers,
enriches with Kubernetes metadata & pushes to the
specified Elasticsearch service deployed in your
Kubernetes environment.You can configure behaviour via the following environment
variables:* `ELASTICSEARCH_HOST` - the Elasticsearh host name to send data to
(default: `es-logging.default.svc`)
* `ELASTICSEARCH_PORT` - the Elasticsearh port to send data to
(default: `9200`)
* `ELASTICSEARCH_SCHEME` - `http` or `https` (default: `http`)
* `ELASTICSEARCH_USER` - user to connect with
* `ELASTICSEARCH_PASSWORD` - password to connect with
* `ELASTICSEARCH_DYNAMIC` - whether elasticsearch plugin configuration is
dymamic, e.g. to select index name prefix based on the namespace field
(default: `false`)
* `FLUENTD_FLUSH_INTERVAL` - how often to flush fluentd data
(default: `10s`)
* `FLUENTD_FLUSH_THREADS` - number of threads to use to flush
logs (default: `1`)
* `FLUENTD_RETRY_LIMIT` - number of retries on flush failures
(default: `10`)
* `FLUENTD_DISABLE_RETRY_LIMIT` - disable retry limit (default: `true`)
* `FLUENTD_RETRY_WAIT` - time to wait between retries (default:
`1s`)
* `FLUENTD_MAX_RETRY_WAIT` - maximum time to wait between retries (default:
`60s`)
* `FLUENTD_BUFFER_CHUNK_LIMIT` - max buffer chunk size (default:
`8m`)
* `FLUENTD_BUFFER_QUEUE_LIMIT` - max buffer queue size (default:
`8192`)
* `FLUENTD_BUFFER_TYPE` - buffer type: `memory` or `file`
(default: `memory`)
* `FLUENTD_BUFFER_PATH` - buffer file path if using a `file`
buffer (default: `/var/fluentd/buffer`)
* `FLUENTD_LOGSTASH_FORMAT` - use logstash format for index names (default `true`)
* `FLUENTD_LOGSTASH_PREFIX` - the prefix to use for index names in logstash
format (default `logstash`)
* `KUBERNETES_PRESERVE_JSON_LOG` - whether to preserve raw JSON logs in the
`log` field (default: `true`)
* `KUBERNETES_URL` - provide the URL of the Kubernetes master (default: `https://kubernetes.default.svc`)
* `KUBERNETES_VERIFY_SSL` - validate the Kubernetes SSL certificate (default: `true`)For more information on Fluentd buffer plugins & options, see
http://docs.fluentd.org/articles/buffer-plugin-overview.