Monitoring by Rest Api
This article describes how to get the internal Fluentd metrics via REST API.
Monitoring Agent
Fluentd has a monitoring agent to retrieve internal metrics in JSON via HTTP. Please add the following lines to your configuration file.
Next, please restart the agent and get the metrics via HTTP.
Reuse plugins
Since v0.12.17, monitor_agent
plugin has tag
parameter. If you set tag monitor.metrics
, monitor_agent
plugin emits internal metrics to monitor.metrics
tag. Here is an example with stdout
output.
Monitoring the event flow
Use flowcounter or flowcounter_simple plugin.
Datadog (dd-agent) Integration
Datadog is a cloud monitoring service, and its monitoring agent dd-agent
has native integration with Fluentd.
Please refer this documentation for more details.
If this article is incorrect or outdated, or omits critical information, please let us know. Fluentd is a open source project under Cloud Native Computing Foundation (CNCF). All components are available under the Apache 2 License.
Last updated