The split at a character mapping splits a key into an array of keys given the delimiter that separates them.

Attribute

Required

Description

from

Y

Defines the field name before mapping.

to

Y

Defines the field name after mapping. The array will be indicated by indexes as subkeys below this one.

precedence

N

Defines the precedence used when mapping.

Function typeYDefines the Function type of the mapping. Needs to be "String functions".

Function

Y

Defines the type of mapping. Needs to be "Split at a character".

DelimiterYDefines the delimiter to use to split the value string.

The following example has one string in a Graphite format that needs to be split into the different keys. To do so, we apply a split mapping and a split submapping.

After that, we apply another mapper to translate these fields into the normalized format.