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

[Input Controls] Make dynamic options limit size configurable #47453

Closed
alvarellos opened this issue Oct 7, 2019 · 6 comments
Closed

[Input Controls] Make dynamic options limit size configurable #47453

alvarellos opened this issue Oct 7, 2019 · 6 comments
Labels
enhancement New value added to drive a business result Feature:Input Control Input controls visualization Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas

Comments

@alvarellos
Copy link

Kibana version:
v7.4.0

Describe the feature:
Controls Visualization (Experimental)

Steps done:
Controls > Options list > add
Add the index patern, Field and Parent control
Multiselect selected
Dynamic options selected

Problem: not all the options are shown in the dropdown fields created.
Is there a limitation on how many options can be shown ?

@kindsun kindsun added Feature:Input Control Input controls visualization Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Oct 9, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@flash1293
Copy link
Contributor

Hi @alvarellos for more options to show up you have to start typing, then the options will be filtered down. If the values you are looking for are still now showing up, you might run into the default timeout of fetching the terms. Is there a little warning triangle next to the label? If yes then you might have to adjust your kibana.autocompleteTimeout and kibana.autocompleteTerminateAfter settings: https://www.elastic.co/guide/en/kibana/7.x/settings.html

@alvarellos
Copy link
Author

Hi @alvarellos for more options to show up you have to start typing, then the options will be filtered down. If the values you are looking for are still now showing up, you might run into the default timeout of fetching the terms. Is there a little warning triangle next to the label? If yes then you might have to adjust your kibana.autocompleteTimeout and kibana.autocompleteTerminateAfter settings: https://www.elastic.co/guide/en/kibana/7.x/settings.html

Hi,
Thanks for your answer but that was not the problem.
The filter works fine but it just showing to few options.
For example,
If I had 20 Addresses placed in Madrid and I start typing: Madrid inside of the field Address, it shows only 10 addresses instead of the 20 ones.

  • There are not errors shown

My question would be..
How can I remove that limitation ?

Thanks

@timroes
Copy link
Contributor

timroes commented Oct 29, 2019

If you're using "dynamic options" it will mean the search box will filter down while you're filtering (especially designed for larger datasets). We will always only load 10 entries for your search, since that would otherwise potentially very easily take way too much time on larger clusters. If you continue typing you'll filter further down into your data and a new search will be executed that will retrieve you the more filtered down results.

This setting is also not configurable currently. I am rewriting this PR as an enhancement request to change the amount of results loaded for each search when typing.

@timroes timroes changed the title Controls Visualization [Input Controls] Make dynamic options limit size configurable Oct 29, 2019
@timroes timroes added the enhancement New value added to drive a business result label Oct 29, 2019
@rayafratkina
Copy link
Contributor

@timroes timroes added Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas and removed Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Oct 7, 2020
@teresaalvarezsoler
Copy link

Closing this one in favour of this one #140174

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Input Control Input controls visualization Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas
Projects
None yet
Development

No branches or pull requests

7 participants