Controls which events are handled by 1 or more processes (referred to as pipeline)
@include
Bring in other config files (Just like import in conventional code)
label
Provides a grouping mechanism for log events
system
related to fluentd internal configs (ex: setting of log levels)
sending a log event to fluentd service
curl -H "Content-type: application/json" -d '{"check_this_out":"This is a test message"}' http://localhost:8888/debug.test
# Check the logs to validate
cat /var/log/fluent/fluentd.log
hello-world config usage
# Receive log events from port 18080
fluentd -c hello-world.conf
# Generating an event
curl -H "Content-type: application/json" -d '{"Hello": "World"}''localhost:18080'