Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarifies that Data Prepper select_entries processor does not remove events #6917

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ nav_order: 59

# select_entries

The `select_entries` processor selects entries from a Data Prepper event. Only the selected entries will remain in the event, and all other entries will be removed from the event.
The `select_entries` processor selects entries from a Data Prepper event.
Only the selected entries will remain in the event, and all other entries will be removed from the event.
Naarcha-AWS marked this conversation as resolved.
Show resolved Hide resolved
This processor will not remove any events from the pipeline.
Naarcha-AWS marked this conversation as resolved.
Show resolved Hide resolved

## Configuration

Expand All @@ -17,7 +19,7 @@ You can configure the `select_entries` processor using the following options.
| Option | Required | Description |
| :--- | :--- | :--- |
| `include_keys` | Yes | A list of keys to be selected from an event. |
| `select_when` | No | A [conditional expression](https://opensearch.org/docs/latest/data-prepper/pipelines/expression-syntax/), such as `/some-key == "test"'`, that will be evaluated to determine whether the processor will be run on the event. |
| `select_when` | No | A [conditional expression](https://opensearch.org/docs/latest/data-prepper/pipelines/expression-syntax/), such as `/some-key == "test"'`, that will be evaluated to determine whether the processor will be run on the event. If the condition is false, then the event will continue through the pipeline unmodified with all the original fields. |
Naarcha-AWS marked this conversation as resolved.
Show resolved Hide resolved

### Usage

Expand Down
Loading