Docker image with:
which do nothing by default.
Elasticsearch info is controlled by ES_HOST and ES_PORT variables which will be overwritten if you link elastic search container.
Fluentd config is created using /app/config/fluentd.conf.erb template and could be easily overwritten in custom Dockerfile:
ADD my-custom-fluentd-template.erb /app/config/fluentd.conf.erb
If you want to override it dynamicaly, you can use volume for it.
-v /path/to/fluentdconfdir:/etc/fluentd
docker run -d -v /path/to/fluentdconfdir:/etc/fluentd shimizukawa/fluentd
PATH
/app/bin/start: fluentd bootstrapping bash script/app/config/fluentd.conf.erb: template for /etc/fluentd/fluentd.conf/etc/fluentd/fluentd.conf: fluentd config file that will be genrated by /app/bin/start/var/log/fluentd/: fluentd log directoryENVIRONMENT
ES_HOST: elasticsearch hostES_PORT: elasticsearch portELASTICSEARCH_PORT_9200_TCP_ADDR: will be assinged to ES_HOST if ES_HOST is not provided.ELASTICSEARCH_PORT_9200_TCP_PORT: will be assigned to ES_PORT if ES_PORT is not provided.fluentd.conf.erb
Content type
Image
Digest
sha256:fee4bead7…
Size
136.3 MB
Last updated
almost 11 years ago
docker pull shimizukawa/fluentd