# bind fluentd on IP 0.0.0.0
# port 24224
@type forward
port 24224
bind 0.0.0.0
# sendlog to the elasticsearch
# the host must match to the elasticsearch
# container service
@type copy
@type elasticsearch
host elasticsearch
port 9200
logstash_format true
logstash_prefix fluentd
logstash_dateformat %Y%m%d
include_tag_key true
type_name access_log
tag_key @log_name
flush_interval 20s
@type stdout