* Style guide fix - white space Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Update _data-prepper/pipelines/configuration/processors/parse-json.md Co-authored-by: Nathan Bower <nbower@amazon.com> Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> --------- Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Co-authored-by: Nathan Bower <nbower@amazon.com>
23 lines
719 B
Markdown
23 lines
719 B
Markdown
---
|
|
layout: default
|
|
title: trim_string
|
|
parent: Processors
|
|
grand_parent: Pipelines
|
|
nav_order: 120
|
|
---
|
|
|
|
# trim_string
|
|
|
|
The `trim_string` processor removes white space from the beginning and end of a key 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 option you can use to configure the `trim_string` processor.
|
|
|
|
Option | Required | Type | Description
|
|
:--- | :--- | :--- | :---
|
|
with_keys | Yes | List | A list of keys to trim the white space from.
|
|
|
|
<!---## Configuration
|
|
|
|
Content will be added to this section.
|
|
|
|
## Metrics
|
|
|
|
Content will be added to this section.---> |