# incoming http --> elastic search @type http port 9880 bind 0.0.0.0 body_size_limit 32m keepalive_timeout 10s #container logs --> elastic search @type tail format json read_from_head true tag docker.log path /fluentd/log/containers/*/*-json.log pos_file /tmp/container-logs.pos #local file --> elastic search @type tail format json read_from_head true tag file-myapp.log path /app/example-log.log pos_file /tmp/example-log.log.pos # where to send http logs @type elasticsearch host elasticsearch port 9200 index_name fluentd-http type_name fluentd #where to send file logs @type elasticsearch host elasticsearch port 9200 index_name fluentd-file type_name fluentd #where to send docker logs @type elasticsearch host elasticsearch port 9200 index_name fluentd-docker type_name fluentd