[Feature Request] Support sending UBI queries to a remote instance of OpenSearch #13582
Labels
enhancement
Enhancement or improvement to existing feature or request
Other
Search:User Behavior Insights
Is your feature request related to a problem? Please describe
There may be cases in which the UBI queries should not be saved to the local instance of OpenSearch. In these cases, it is required to store this information in a remote OpenSearch instance.
Describe the solution you'd like
The ability to configure UBI in OpenSearch to send events to a remote OpenSearch instead of always indexing the queries into the local
ubi_queries
index. Data Prepper looks to be a good choice to support this via itshttp_source
. When a UBI query is received by OpenSearch, it is sent to Data Prepper'shttp
endpoint where the Data Prepper pipeline can take care of indexing the query per the pipeline steps. This provides flexibility in how the event is stored since Data Prepper is not limited to just an OpenSearch sink.In the event Data Prepper exposes an OpenSearch-compatible API in time, UBI can use that API via the
client
to send the event. (Described in opensearch-project/data-prepper#248) If not, UBI can be updated later to use this method.Additional context
Related to the UBI RFC #12084 and UBI initial code in #13545.
This issue can be assigned to myself.
The text was updated successfully, but these errors were encountered: