:plugin: metriccatcher :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}"] === Metriccatcher output plugin include::{include_path}/plugin_header.asciidoc[] ==== Description This output ships metrics to MetricCatcher, allowing you to utilize Coda Hale's Metrics. More info on MetricCatcher: https://github.com/clearspring/MetricCatcher At Clearspring, we use it to count the response codes from Apache logs: [source,ruby] metriccatcher { host => "localhost" port => "1420" type => "apache-access" fields => [ "response" ] meter => { "%{host}.apache.response.%{response}" => "1" } } [id="plugins-{type}s-{plugin}-options"] ==== Metriccatcher Output Configuration Options This plugin supports the following configuration options plus the <> described later. [cols="<,<,<",options="header",] |======================================================================= |Setting |Input type|Required | <> |<>|No | <> |<>|No | <> |<>|No | <> |<>|No | <> |<>|No | <> |<>|No | <> |<>|No | <> |<>|No |======================================================================= Also see <> for a list of options supported by all output plugins.   [id="plugins-{type}s-{plugin}-biased"] ===== `biased` * Value type is <> * There is no default value for this setting. The metrics to send. This supports dynamic strings like `%{host}` for metric names and also for values. This is a hash field with key of the metric name, value of the metric value. The value will be coerced to a floating point value. Values which cannot be coerced will zero (0) [id="plugins-{type}s-{plugin}-counter"] ===== `counter` * Value type is <> * There is no default value for this setting. The metrics to send. This supports dynamic strings like `%{host}` for metric names and also for values. This is a hash field with key of the metric name, value of the metric value. Example: [source,ruby] counter => { "%{host}.apache.hits.%{response} => "1" } The value will be coerced to a floating point value. Values which cannot be coerced will zero (0) [id="plugins-{type}s-{plugin}-gauge"] ===== `gauge` * Value type is <> * There is no default value for this setting. The metrics to send. This supports dynamic strings like `%{host}` for metric names and also for values. This is a hash field with key of the metric name, value of the metric value. The value will be coerced to a floating point value. Values which cannot be coerced will zero (0) [id="plugins-{type}s-{plugin}-host"] ===== `host` * Value type is <> * Default value is `"localhost"` The address of the MetricCatcher [id="plugins-{type}s-{plugin}-meter"] ===== `meter` * Value type is <> * There is no default value for this setting. The metrics to send. This supports dynamic strings like `%{host}` for metric names and also for values. This is a hash field with key of the metric name, value of the metric value. The value will be coerced to a floating point value. Values which cannot be coerced will zero (0) [id="plugins-{type}s-{plugin}-port"] ===== `port` * Value type is <> * Default value is `1420` The port to connect on your MetricCatcher [id="plugins-{type}s-{plugin}-timer"] ===== `timer` * Value type is <> * There is no default value for this setting. The metrics to send. This supports dynamic strings like %{host} for metric names and also for values. This is a hash field with key of the metric name, value of the metric value. Example: [source,ruby] timer => { "%{host}.apache.response_time => "%{response_time}" } The value will be coerced to a floating point value. Values which cannot be coerced will zero (0) [id="plugins-{type}s-{plugin}-uniform"] ===== `uniform` * Value type is <> * There is no default value for this setting. The metrics to send. This supports dynamic strings like `%{host}` for metric names and also for values. This is a hash field with key of the metric name, value of the metric value. The value will be coerced to a floating point value. Values which cannot be coerced will zero (0) [id="plugins-{type}s-{plugin}-common-options"] include::{include_path}/{type}.asciidoc[]