:plugin: datadog_metrics :type: output /////////////////////////////////////////// START - GENERATED VARIABLES, DO NOT EDIT! /////////////////////////////////////////// :version: %VERSION% :release_date: %RELEASE_DATE% :changelog_url: %CHANGELOG_URL% :include_path: ../../../../logstash/docs/include /////////////////////////////////////////// END - GENERATED VARIABLES, DO NOT EDIT! /////////////////////////////////////////// [id="plugins-{type}-{plugin}"] === Datadog_metrics output plugin include::{include_path}/plugin_header.asciidoc[] ==== Description This output lets you send metrics to DataDogHQ based on Logstash events. Default `queue_size` and `timeframe` are low in order to provide near realtime alerting. If you do not use Datadog for alerting, consider raising these thresholds. [id="plugins-{type}s-{plugin}-options"] ==== Datadog_metrics Output Configuration Options This plugin supports the following configuration options plus the <> described later. [cols="<,<,<",options="header",] |======================================================================= |Setting |Input type|Required | <> |<>|Yes | <> |<>|No | <> |<>|No | <> |<>|No | <> |<>|No | <> |<>, one of `["gauge", "counter", "%{metric_type}"]`|No | <> |<<,>>|No | <> |<>|No | <> |<>|No |======================================================================= Also see <> for a list of options supported by all output plugins.   [id="plugins-{type}s-{plugin}-api_key"] ===== `api_key` * This is a required setting. * Value type is <> * There is no default value for this setting. Your DatadogHQ API key. https://app.datadoghq.com/account/settings#api [id="plugins-{type}s-{plugin}-dd_tags"] ===== `dd_tags` * Value type is <> * There is no default value for this setting. Set any custom tags for this event, default are the Logstash tags if any. [id="plugins-{type}s-{plugin}-device"] ===== `device` * Value type is <> * Default value is `"%{metric_device}"` The name of the device that produced the metric. [id="plugins-{type}s-{plugin}-host"] ===== `host` * Value type is <> * Default value is `"%{host}"` The name of the host that produced the metric. [id="plugins-{type}s-{plugin}-metric_name"] ===== `metric_name` * Value type is <> * Default value is `"%{metric_name}"` The name of the time series. [id="plugins-{type}s-{plugin}-metric_type"] ===== `metric_type` * Value can be any of: `gauge`, `counter`, `%{metric_type}` * Default value is `"%{metric_type}"` The type of the metric. [id="plugins-{type}s-{plugin}-metric_value"] ===== `metric_value` * Value type is <> * Default value is `"%{metric_value}"` The value. [id="plugins-{type}s-{plugin}-queue_size"] ===== `queue_size` * Value type is <> * Default value is `10` How many events to queue before flushing to Datadog prior to schedule set in `@timeframe` [id="plugins-{type}s-{plugin}-timeframe"] ===== `timeframe` * Value type is <> * Default value is `10` How often (in seconds) to flush queued events to Datadog [id="plugins-{type}s-{plugin}-common-options"] include::{include_path}/{type}.asciidoc[]