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

Only up to 100 index patterns are shown in dropdown for available index patterns #85907

Closed
ppf2 opened this issue Dec 15, 2020 · 2 comments
Closed
Labels
bug Fixes for quality problems that affect the customer experience [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation discuss

Comments

@ppf2
Copy link
Member

ppf2 commented Dec 15, 2020

image

A user reported that when they click on the dropdown for index patterns in the "Add Layer" editor of Maps, their index pattern is not showing up (until they perform a search for it).

Checking the response of the underlying query issued by Kibana:

https://<your_kibana_endpoint>/api/saved_objects/_find?fields=title&fields=fields&per_page=100&search=*&search_fields=title&type=index-pattern

I am pretty sure that this is because we only return the first page of 100 index patterns found in saved objects to the drop down. In this case, there are close to 700 index patterns:

  "page": 1,
  "per_page": 100,
  "total": 699,

I suspect that this might(?) be the expected behavior for performance reasons. If we do not intend to page through and return all index patterns to the drop down, it will be helpful to add a tooltip to let the end users know that we will only return up to 100 index patterns in the dropdown (i.e., refine the search as needed).

@ppf2 ppf2 changed the title Top 100 index patterns are shown in dropdown for available index patterns Only up to 100 index patterns are shown in dropdown for available index patterns Dec 15, 2020
@nreese nreese added bug Fixes for quality problems that affect the customer experience discuss [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation labels Dec 15, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-gis (Team:Geo)

@nreese
Copy link
Contributor

nreese commented Apr 28, 2021

closed with #97035

@nreese nreese closed this as completed Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation discuss
Projects
None yet
Development

No branches or pull requests

3 participants