* Removed content from Data Prepper reference and broke out into separate pages. Signed-off-by: carolxob <[email protected]> * Checking in file to make sure it's the right version. Signed-off-by: carolxob <[email protected]> * Minor update. Signed-off-by: carolxob <[email protected]> * Updated files. Signed-off-by: carolxob <[email protected]> * Adding Sinks file. Signed-off-by: carolxob <[email protected]> * Added file to PR. Signed-off-by: carolxob <[email protected]> * Corrected TOC hierarchy. Signed-off-by: carolxob <[email protected]> * Added images and reorganized files. Signed-off-by: carolxob <[email protected]> * Reconfigured some content based on David's feedback. Signed-off-by: carolxob <[email protected]> * Modified reference page. Signed-off-by: carolxob <[email protected]> * Fixed minor heading issue. Signed-off-by: carolxob <[email protected]> * Minor edits. Signed-off-by: carolxob <[email protected]> * Major edits, files created, moved, and content broken out from main config page. Signed-off-by: carolxob <[email protected]> * Adding key value and processors pages to the PR. Signed-off-by: carolxob <[email protected]> * Basic ToC reorg. Signed-off-by: carolxob <[email protected]> * ToC updates. Signed-off-by: carolxob <[email protected]> * Minor ToC updates. Signed-off-by: carolxob <[email protected]> * Minor update.: Signed-off-by: carolxob <[email protected]> * Minor edits to ToC again. Signed-off-by: carolxob <[email protected]> * Minor updates. Signed-off-by: carolxob <[email protected]> * Minor TOC update Signed-off-by: carolxob <[email protected]> * Minor ToC updates. Signed-off-by: carolxob <[email protected]> * Minor ToC updates. Signed-off-by: carolxob <[email protected]> * Minor ToC updates. Signed-off-by: carolxob <[email protected]> * Minor ToC updates. Signed-off-by: carolxob <[email protected]> * Minor ToC updates. Signed-off-by: carolxob <[email protected]> * Minor ToC changes. Signed-off-by: carolxob <[email protected]> * Minor ToC updates. Signed-off-by: carolxob <[email protected]> * ToC updates. Signed-off-by: carolxob <[email protected]> * Minor ToC updates. Signed-off-by: carolxob <[email protected]> * Minor ToC updates. Signed-off-by: carolxob <[email protected]> * Minor ToC updates. Signed-off-by: carolxob <[email protected]> * Minor ToC updates Signed-off-by: carolxob <[email protected]> * Minor ToC changes. Signed-off-by: carolxob <[email protected]> * Minor ToC changes. Signed-off-by: carolxob <[email protected]> * Minor ToC changes. Signed-off-by: carolxob <[email protected]> * Minor ToC changes. Signed-off-by: carolxob <[email protected]> * Minor ToC changes. Signed-off-by: carolxob <[email protected]> * Minor ToC edits. Signed-off-by: carolxob <[email protected]> * Changed filename. Signed-off-by: carolxob <[email protected]> * Minor ToC updates Signed-off-by: carolxob <[email protected]> * Making small Toc changes. Signed-off-by: carolxob <[email protected]> * Minor ToC updates. Signed-off-by: carolxob <[email protected]> * Added comment blocks for Config and Metrics sections. Signed-off-by: carolxob <[email protected]> * Minor ToC updates to add Sinks and Sources under config guide. Signed-off-by: carolxob <[email protected]> Signed-off-by: carolxob <[email protected]>
28 lines
1.1 KiB
Markdown
28 lines
1.1 KiB
Markdown
---
|
|
layout: default
|
|
title: split_string
|
|
parent: Processors
|
|
grand_parent: Configuring Data Prepper
|
|
nav_order: 45
|
|
---
|
|
|
|
# split_string
|
|
|
|
## Overview
|
|
|
|
Splits a field into an array using a delimiter character. `split_string` is part of [mutate string](https://github.com/opensearch-project/data-prepper/tree/main/data-prepper-plugins/mutate-string-processors#mutate-string-processors) processors.
|
|
|
|
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.---> |