Concatenates the values of a list of fields into a value in a new field.

ParameterTypeRequiredDefaultDescription
as[string]false_concatThe output name of the field to set.
field[string]true Fields to concatenate. [a]

[a] When you provide only one parameter, the implied parameter is field

Examples

This example will concatenates the values of the fields f1 and f2 from each event into the field combined:

logscale
concat([f1, f2], as="combined")