What is the Kibana saved search filter autcomplete logic

I am trying to understand the logic for the Kibana saved search filter autocomplete menu. It seems to be a mix of past searches and available matches. Is there any description available on how the logic for this works?

From what I can tell, this list is driven off of the Kibana "suggestion API" API endpoint. Looking at this code, it appears Kibana uses a terms aggregation to collect the relevant fields for the field in question.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.