# Receive events from 24224/tcp
# This is used by log forwarding and the fluent-cat command
@type forward
port 24224
str_param "foo # This line is converted to "foo\nbar". NL is kept in the parameter
bar"
array_param [
"a", "b"
]
hash_param {
"k":"v",
"k1":10
}
host_param "#{Socket.gethostname}" # host_param is actual hostname like `webserver1`.
env_param "foo-#{ENV["FOO_BAR"]}" # NOTE that foo-"#{ENV["FOO_BAR"]}" doesn't work.
@type tail
@label @SYSTEM
# http://this.host:9880/myapp.access?json={"event":"data"}
@type http
port 9880
@type record_transformer
host_param "#{Socket.gethostname}"
@type file
path /var/log/fluent/access
# equal to -qq option
log_level error
# equal to --without-source option
without_source
# ...
# Include config files in the ./config.d directory
@include config.d/*.conf