-
Notifications
You must be signed in to change notification settings - Fork 508
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
Add split event processor for dataprepper #6682
Conversation
@srikanthjg: Do you have a pipeline example with a response? |
Won't be able to move forward with this one until I have usage example, similar to the one found here: https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/csv/#usage |
Signed-off-by: srigovs <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
@dlvenable: Can you take a look at this one? |
_data-prepper/pipelines/configuration/processors/split-event.md
Outdated
Show resolved
Hide resolved
Signed-off-by: Naarcha-AWS <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@srikanthjg @Naarcha-AWS Just a few comments/changes. Thanks!
_data-prepper/pipelines/configuration/processors/split-event.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/split-event.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/split-event.md
Outdated
Show resolved
Hide resolved
_data-prepper/pipelines/configuration/processors/split-event.md
Outdated
Show resolved
Hide resolved
{"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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"with" the delimiter set to white space (instead of "as")?
Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]>
Closes #6679
Checklist
For more information on following Developer Certificate of Origin and signing off your commits, please check here.