Docker image containing fluentd, elasticsearch, kibana.
You send message with fluentd with tag es.*
to fluentd of this image.
docker run -d --privileged -p 5601:5601 -p 9200:9200 -p 24224:24224 muddydixon/fluentd-elasticsearch-kibana
Using your td-agent.conf
docker run -d --privileged -p 5601:5601 -p 9200:9200 -p 24224:24224 -v ${TD_AGENT_CONF_PATH}:/etc/td-agent/td-agent.conf muddydixon/fluentd-elasticsearch-kibana
elasticsearch.yml
or kibana.yml
are same:
- to
/etc/elasticsearch/elasticsearch.yml
- to
/etc/kibana/kibana.yml
- elasticsearch 5.X
- kibana 4.5
- td-agent2
% docker build --rm .
if you are required http_proxy
% docker build --rm --build-arg http_proxy=${http_proxy} --build-arg https_proxy=${https_proxy} .
% docker run -d -p 9200:9200 -p 5601:5601 -p 24224:24224 muddydixon/fluentd-elasticsearch-kibana
% echo '{"val": 0.99}' | fluent-cat -p 24224 -h 192.168.99.100 es.hoge
% open http://192.168.99.100:5601
- fluent-plugin-elasticsearch
- fluent-plugin-forest
- fluent-plugin-mackerel
- fluent-plugin-mysql-bulk
Apache License Version 2.0
muddydixon