docs-v2/content/telegraf/v1/processor-plugins/override/_index.md

1.9 KiB

description menu tags introduced os_support related
Telegraf plugin for transforming metrics using Override
telegraf_v1_ref
parent name identifier
processor_plugins_reference Override processor-override
Override
processor-plugins
configuration
transformation
v1.6.0 freebsd, linux, macos, solaris, windows
/telegraf/v1/configure_plugins/
https://github.com/influxdata/telegraf/tree/v1.36.3/plugins/processors/override/README.md, Override Plugin Source

Override Processor Plugin

This plugin allows to modify metrics using metric modifiers. Use-cases of this plugin encompass ensuring certain tags or naming conventions are adhered to irrespective of input plugin configurations, e.g. by taginclude.

[!NOTE] Metric filtering options apply to both the clone and the original metric.

Introduced in: Telegraf v1.6.0 Tags: transformation OS support: all

Global configuration options

In addition to the plugin-specific configuration settings, plugins support additional global and plugin configuration settings. These settings are used to modify metrics, tags, and field or create aliases and configure ordering, etc. See the CONFIGURATION.md for more details.

Configuration

# Apply metric modifications using override semantics.
[[processors.override]]
  ## All modifications on inputs and aggregators can be overridden:
  # name_override = "new_name"
  # name_prefix = "new_name_prefix"
  # name_suffix = "new_name_suffix"

  ## Tags to be added (all values must be strings)
  # [processors.override.tags]
  #   additional_tag = "tag_value"