################################################################
# This source reads tail of a file
@type tail
format json
read_from_head true
tag file-myapp.log
path /fluentd/log/files/example-log.log
pos_file /tmp/example-log.log.pos
@type file
path /output/file-myapp.log
################################################################
# This source gets incoming logs over HTTP
@type http
port 9880
bind 0.0.0.0
body_size_limit 32m
keepalive_timeout 10s
@type file
path /output/http.log
################################################################