Remove Tags Transform

The Vector remove_tags transform accepts and outputs metric events allowing you to remove one or more metric tags.

Configuration

vector.toml
[transforms.my_transform_id]
type = "remove_tags" # required
inputs = ["my-source-id"] # required
tags = ["tag1", "tag2"] # required
  • [string]commonrequired

    tags

    The tag names to drop.

    • No default
    • View examples

How It Works

Complex Processing

If you encounter limitations with the remove_tags transform then we recommend using a runtime transform. These transforms are designed for complex processing and give you the power of full programming runtime.

Environment Variables

Environment variables are supported through all of Vector's configuration. Simply add ${MY_ENV_VAR} in your Vector configuration file and the variable will be replaced before being evaluated.

You can learn more in the Environment Variables section.