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

Add split event processor for dataprepper #6682

Merged
merged 6 commits into from
Mar 27, 2024

Conversation

srikanthjg
Copy link
Contributor

@srikanthjg srikanthjg commented Mar 14, 2024

Closes #6679

Checklist

  • By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
    For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@Naarcha-AWS
Copy link
Collaborator

@srikanthjg: Do you have a pipeline example with a response?

@Naarcha-AWS Naarcha-AWS added 3 - Tech review PR: Tech review in progress and removed 4 - Doc review PR: Doc review in progress labels Mar 19, 2024
@Naarcha-AWS
Copy link
Collaborator

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

@Naarcha-AWS Naarcha-AWS added Blocked PR: Cannot move forward without assistance data-prepper and removed data-prepper 2.7 labels Mar 19, 2024
@Naarcha-AWS Naarcha-AWS added data-prepper 2.7 3 - Tech review PR: Tech review in progress and removed Blocked PR: Cannot move forward without assistance 3 - Tech review PR: Tech review in progress data-prepper labels Mar 21, 2024
Signed-off-by: Naarcha-AWS <[email protected]>
@Naarcha-AWS
Copy link
Collaborator

@dlvenable: Can you take a look at this one?

@Naarcha-AWS Naarcha-AWS added 5 - Editorial review PR: Editorial review in progress and removed 3 - Tech review PR: Tech review in progress labels Mar 27, 2024
Copy link
Collaborator

@natebower natebower left a 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!

{"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:
Copy link
Collaborator

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]>
@Naarcha-AWS Naarcha-AWS merged commit 5a873ab into opensearch-project:main Mar 27, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 - Editorial review PR: Editorial review in progress data-prepper 2.7
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[DOC] Add docs for split event processor
4 participants