Graphite codec pluginedit

  • Plugin version: v3.0.3
  • Released on: 2017-06-23
  • Changelog

Getting Helpedit

For questions about the plugin, open a topic in the Discuss forums. For bugs or feature requests, open an issue in Github. For the list of Elastic supported plugins, please consult the Elastic Support Matrix.

Descriptionedit

This codec will encode and decode Graphite formated lines.

Graphite Codec Configuration Optionsedit

 

exclude_metricsedit

  • Value type is array
  • Default value is ["%{[^}]+}"]

fields_are_metricsedit

  • Value type is boolean
  • Default value is false

Indicate that the event @fields should be treated as metrics and will be sent as is to graphite

include_metricsedit

  • Value type is array
  • Default value is [".*"]

Include only regex matched metric names

metricsedit

  • Value type is hash
  • Default value is {}

The metric(s) to use. 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:

[ "%{host}/uptime", "%{uptime_1m}" ]

The value will be coerced to a floating point value. Values which cannot be coerced will zero (0)

metrics_formatedit

  • Value type is string
  • Default value is "*"

Defines format of the metric string. The placeholder * will be replaced with the name of the actual metric. This supports dynamic strings like %{host}.

metrics_format => "%{host}.foo.bar.*.sum"
Note

If no metrics_format is defined the name of the metric will be used as fallback.