Fluentd monitoring with Netdata
Fluentd
is an open source data collector for unified logging layer.
This module will monitor one or more Fluentd
servers, depending on your configuration. It gathers metrics from plugin
endpoint provided by in_monitor plugin.
#
Requirementsfluentd
with enabled monitoring agent
#
ChartsIt produces the following charts:
- Plugin Retry Count in
count
- Plugin Buffer Queue Length in
queue length
- Plugin Buffer Total Size in
buffer
#
ConfigurationEdit the go.d/fluentd.conf
configuration file using edit-config
from the
Netdata config directory, which is typically at /etc/netdata
.
Needs only url
. Here is an example for 2 servers:
By default this module collects statistics for all plugins. Filter plugins syntax: simple patterns.
For all available options please see module configuration file.
#
TroubleshootingTo troubleshoot issues with the fluentd
collector, run the go.d.plugin
with the debug option enabled. The output
should give you clues as to why the collector isn't working.
First, navigate to your plugins directory, usually at /usr/libexec/netdata/plugins.d/
. If that's not the case on your
system, open netdata.conf
and look for the setting plugins directory
. Once you're in the plugin's directory, switch
to the netdata
user.
You can now run the go.d.plugin
to debug the collector: