Files
OpenSearch-Docs-Cn/_data-prepper/pipelines/configuration/processors/split-string.md
T
4251fb04bd Add DLQ and aggregate processor edits. Baseline processor names (#3880)
* Add DLQ and aggregate processor edits. Baseline processor names

Signed-off-by: Naarcha-AWS <[email protected]>

* Remove processor from titles

Signed-off-by: Naarcha-AWS <[email protected]>

* Update dlq.md

Signed-off-by: Naarcha-AWS <[email protected]>

* Add additional feedback

Signed-off-by: Naarcha-AWS <[email protected]>

* add cross links

Signed-off-by: Naarcha-AWS <[email protected]>

* Fix typos

Signed-off-by: Naarcha-AWS <[email protected]>

* Add doc review

Signed-off-by: Naarcha-AWS <[email protected]>

* Remove link

Signed-off-by: Naarcha-AWS <[email protected]>

* Apply suggestions from code review

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>

* Apply suggestions from code review

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>

* Update dlq.md

Signed-off-by: Naarcha-AWS <[email protected]>

* Fix processor title

Signed-off-by: Naarcha-AWS <[email protected]>

* Apply suggestions from code review

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>

---------

Signed-off-by: Naarcha-AWS <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
Co-authored-by: kolchfa-aws <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
2023-04-27 14:01:01 -05:00

27 lines
1.1 KiB
Markdown

---
layout: default
title: split_string
parent: Processors
grand_parent: Pipelines
nav_order: 100
---
# split_string
The `split_string` processor splits a field into an array using a delimiting character and is a [mutate string](https://github.com/opensearch-project/data-prepper/tree/main/data-prepper-plugins/mutate-string-processors#mutate-string-processors) 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.
<!---## Configuration
Content will be added to this section.
## Metrics
Content will be added to this section.--->