opensearch-project / user-behavior-insights

User Behavior Insights plugin for OpenSearch
Apache License 2.0
18 stars 5 forks source link

[FEATURE] Capture the name of the index(es) being searched in the `ubi_queries` index #34

Closed jzonthemtn closed 4 weeks ago

jzonthemtn commented 1 month ago

The UBI plugin captures all queries run on OpenSearch and stores the information about each one in the ubi_queries index. While the name of the index(es) being searched are in the query field, getting the names of the index(es) from that field requires parsing. Additionally, this information should be eventually removed per #32.

Add a new indexes field to the ubi_query schema for the index(es) being searched.

This will allow consumers of UBI data to be able to choose which index data is being used.

jzonthemtn commented 4 weeks ago

Closing until there's a specific need for the index names. See #36 for a discussion.