concat() Query Function

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

Parameters

Name

Type

Required

Default

Description

field

[string]

Yes

Fields to concatenate.

as

[string]

No

_concat

The output name of the field to set.

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:

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