This version of the OpenSearch documentation is no longer maintained. For the latest version, see the current documentation. For information about OpenSearch version maintenance, see Release Schedule and Maintenance Policy.
split_string
The split_string
processor splits a field into an array using a delimiting character and is a mutate string processor. The following table describes the options you can use to configure the split_string
processor.
Option | Required | Type | Description |
---|---|---|---|
entries | Yes | List | List of entries. Valid values are source , delimiter , and delimiter_regex . |
source | N/A | N/A | The key to split. |
delimiter | No | N/A | The separator character responsible for the split. Cannot be defined at the same time as delimiter_regex . At least delimiter or delimiter_regex must be defined. |
delimiter_regex | No | N/A | The regex string responsible for the split. Cannot be defined at the same time as delimiter . At least delimiter or delimiter_regex must be defined. |