Docs
Search…
Concat
The concat function concats values of multiple fields to a new one

Example

Suppose we have following log event:
Input
1
{
2
"msg": "concat example",
3
"container_id": "31r3re2e12",
4
"image": "signalflex"
5
}
Copied!
We want to join values of container_id and image (with '_' as joiner) to a new field: container_info. Fill out function form:
Output event will be following, with a new field container_info added
Output
1
{
2
"msg": "concat example",
3
"container_id": "31r3re2e12",
4
"image": "signalflex",
5
"container_info": "31r3re2e12_signalflex"
6
}
Copied!
Last modified 1yr ago
Copy link