METRIC

remove_tags transform

The remove_tags transform accepts metric events and allows you to remove one or more metric tags.

Configuration

vector.toml
[transforms.my_transform_id]
type = "remove_tags" # example, must be: "remove_tags"
inputs = ["my-source-id"] # example
tags = ["tag1", "tag2"] # example

Options

common[string]required

tags

The tag names to drop.

No default
View examples

How It Works

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.