# This source reads tail of a file @type tail format json read_from_head true tag file-myapp.log path /app/example-log.log pos_file /tmp/example-log.log.pos @type record_transformer host_param "#{Socket.gethostname}" @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 record_transformer host_param "#{Socket.gethostname}" @type file path /output/http.log ################################################################