opensearch-docs-cn/_data-prepper/configuration/processors/trim-string.md

25 lines
638 B
Markdown

---
layout: default
title: trim_string
parent: Processors
grand_parent: Configuring Data Prepper
nav_order: 45
---
# trim_string
## Overview
Strips whitespace from the beginning and end of a key. `trim_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
:--- | :--- | :--- | :---
with_keys | Yes | List | A list of keys to trim the whitespace from.
<!---## Configuration
Content will be added to this section.
## Metrics
Content will be added to this section.--->