The Add Fields Transform Supports Templating

Use Vector’s templating syntax to add new fields

Vector offers a template syntax that you can use to build dynamic values in your Vector configuration files. This has now been added to the add_fields transform, enabling the ability to create fields from other fields values.