Overview
This article describes how to monitor Fluentd.
Fluentd Metrics Monitoring
Fluentd can expose internal metrics via REST API, and works with monitoring tools such as Prometheus
, Datadog
, etc. Our recommendation is to use Prometheus
, since we will be collaborating more in the future under the CNCF (Cloud Native Computing Foundation).
Process Monitoring
Two ruby
processes (parent and child) are executed. Please make sure that these processes are running.
Here's an example for td-agent
:
For td-agent
on Linux, check the process statuses like this:
There should be two processes if there is no issue.
Port Monitoring
Fluentd opens several ports according to the configuration file. We recommend checking the availability of these ports. The default port settings are shown below:
TCP 0.0.0.0 9880 (HTTP by default)
TCP 0.0.0.0 24224 (Forward by default)
Debug Port
A debug port for local communication is recommended for troubleshooting. The following configuration will be required for the debug port:
You can attach the process using the fluent-debug
command through dRuby
.
If this article is incorrect or outdated, or omits critical information, please let us know. Fluentd is an open-source project under Cloud Native Computing Foundation (CNCF). All components are available under the Apache 2 License.
Last updated