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

[Feature Request] Support sending UBI queries to a remote instance of OpenSearch #13582

Closed
jzonthemtn opened this issue May 7, 2024 · 2 comments
Assignees
Labels
enhancement Enhancement or improvement to existing feature or request Other Search:User Behavior Insights

Comments

@jzonthemtn
Copy link

jzonthemtn commented May 7, 2024

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 its http_source. When a UBI query is received by OpenSearch, it is sent to Data Prepper's http 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.

@jzonthemtn jzonthemtn added enhancement Enhancement or improvement to existing feature or request untriaged labels May 7, 2024
@github-actions github-actions bot added the Other label May 7, 2024
@andrross
Copy link
Member

andrross commented May 8, 2024

[Triage - attendees 1 2 3 4]
@jzonthemtn Thanks for filing.

@jzonthemtn
Copy link
Author

Closing this RFC because the initial implementation is now available at https://github.com/opensearch-project/user-behavior-insights and new issues can be created there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Other Search:User Behavior Insights
Projects
Status: New
Development

No branches or pull requests

2 participants