Sign inSign up

oosidat/fluentd-elasticsearch-container

By oosidat

•Updated almost 10 years ago

Docker fluentd container to forward logs from other containers to elasticsearch

Image
3

50K+

oosidat/fluentd-elasticsearch-container repository overview

⁠fluentd-elasticsearch-container

The container to send all containers' logs to an Elasticsearch container.

⁠Running

⁠Simple run:
docker run -d --name some_cool_name oosidat/fluentd-elasticsearch-container
⁠Run in vagrant box alongside other docker containers
  • Ensure that there's an ElasticSearch container running at port 9200
  • Run fluentd container:
docker run --net=host -d --name some_cool_name oosidat/fluentd-elasticsearch-container
⁠Supported Environment Variables

Pass using -e in docker run or using the environment key using docker-compose

NameDescriptionDefault
ES_HOSTElasticSearch hostlocalhost
ES_PORTElasticSearch port9200
ES_INDEXElasticSearch index namefluentd
ES_TYPEElasticSearch index typefluentd
MATCH_PATTERNfluentd matching pattern, used in <filter> & <match>docker.**
FLUENTD_OPTother options for running fluentnone (empty)
⁠Credits:

Tag summary

Content type

Image

Digest

Size

13.9 MB

Last updated

almost 10 years ago

docker pull oosidat/fluentd-elasticsearch-container