Get metrics from Fluentd to:
The Fluentd check is packaged with the Agent, so simply install the Agent on your Fluentd servers.
In your fluentd configuration, add a
<source> @type monitor_agent bind 0.0.0.0 port 24220 </source>
Create a file
fluentd.yaml in the Agent’s
conf.d directory. See the sample fluentd.yaml for all available configuration options:
init_config: instances: - monitor_agent_url: http://localhost:24220/api/plugins.json #tag_by: "type" # defaults to 'plugin_id' #plugin_ids: # collect metrics only on your chosen plugin_ids (optional) # - plg1 # - plg2
Restart the Agent to begin sending Fluentd metrics to Datadog.
Run the Agent’s
info subcommand and look for
fluentd under the Checks section:
Checks ====== [...] fluentd ------- - instance #0 [OK] - Collected 26 metrics, 0 events & 1 service check [...]
|The number of retries for this plugin.|
shown as time
|The length of the buffer queue for this plugin.|
shown as buffer
|The size of the buffer queue for this plugin.|
shown as byte
The FluentD check does not include any event at this time.
Returns ‘Critical’ if the Agent cannot connect to Fluentd to collect metrics. This is the check which most other integrations would call
Need help? Contact Datadog Support.