Remove Fields Transform
The Vector remove_fields transform accepts log events and allows you to remove one or more log fields.
Configuration
vector.toml
[transforms.my_transform_id]type = "remove_fields" # example, must be: "remove_fields"inputs = ["my-source-id"] # examplefields = ["field1", "field2"] # example
Options
common[string]required
fields
The log field 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.