Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
  • Loading branch information
Naarcha-AWS and natebower committed Mar 27, 2024
1 parent 0dcbbe7 commit 118f14f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ The `split-event` processor is used to split events based on a delimiter and gen

## Configuration

The following table describes the configuration options for the `split-event`
The following table describes the configuration options for the `split-event` processor.

| Option | Type | Description |
|------------------|---------|-----------------------------------------------------------------------------------------------|
| `field` | String | The field in the event to be split. |
| `field` | String | The event field to be split. |
| `delimiter_regex`| String | The regular expression used as the delimiter for splitting the field. |
| `delimiter` | String | The delimiter used for splitting the field. If not specified, the default delimiter is used. |

Expand All @@ -37,13 +37,13 @@ split-event-pipeline:
```
{% include copy.html %}

When an event contains the following input example:
When an event contains the following example input:

```
{"query" : "open source", "some_other_field" : "abc" }
```

The input will be split into multiple events based on the field `query`, as the delimiter set as white space, as shown in the following example:
The input will be split into multiple events based on the `query` field, with the delimiter set as white space, as shown in the following example:

```
{"query" : "open", "some_other_field" : "abc" }
Expand Down

0 comments on commit 118f14f

Please sign in to comment.