opensearch-project / data-prepper

Data Prepper is a component of the OpenSearch project that accepts, filters, transforms, enriches, and routes data at scale.
https://opensearch.org/docs/latest/clients/data-prepper/index/
Apache License 2.0
238 stars 176 forks source link

Support default route option for Events that match no other route #4662

Closed kkondaka closed 1 week ago

kkondaka commented 1 week ago

Description

Support default route option for Events that match no other route. Currently DataPrepper doesn't have a away to forward event when none of the routes match. Users are expected to explicitly write a route for negation of all the other routes. This feature would allow events not matching any routes to be routed using "_default" route in sink config.

Issues Resolved

Resolves #4615

Check List

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