Skip to content

theJaxon/Fluentd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fluentd

Directives

Directive Description
source Tells fluentd to receive/source log events
match Match log events to other operations (Output)
filter 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'

Validating config files

fluentd -c <conf> --dry-run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors