elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.82k stars 8.2k forks source link

Vizualization | Input Controls | values are not listed #43089

Closed vldbnc closed 1 year ago

vldbnc commented 5 years ago

Kibana version: 7.3.0 Elasticsearch version: 7.3.0 Server OS version: Linux qdeqnm 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux Browser version: Chrome Browser OS version: Version 75.0.3770.142 (Official Build) (64-bit) Original install method (e.g. download page, yum, from source, etc.): docker pull kibana:7.3.0

Describe the bug: Property is index as keyword datavalue but input controls does not list all options. The same issue is seen also for integer long-values.

Expected behavior:

Screenshots (if relevant): controls_settings_2 controls_settings_1 number_one_not_listed mapping

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context:

jbudz commented 5 years ago

Hey, it's doing a terms aggregation with a limit - fetching all results at the elasticsearch level could cause slow queries and hangups on larger data sets. Does a more specific search work? Maybe a configurable limit could help.

elasticmachine commented 5 years ago

Pinging @elastic/kibana-app

flash1293 commented 5 years ago

There are also the kibana.autocompleteTimeout and kibana.autocompleteTerminateAfter that might help in this case: https://www.elastic.co/guide/en/kibana/current/settings.html

vldbnc commented 5 years ago

@flash1293 @jbudz index is small-sized consisting of 59k records but I will check those settings. Thanks

diacone commented 5 years ago

I believe that a custom limit is a must feature. Optionally, I'd appreciate a custom sort. Thanks.

mnivet commented 4 years ago

I've got the same problem, but in my case auto-completion is not required since users are expected to just copy past a value.

Is that possible to configure the control to just be a shortcut to add a filter ? Without having it trying to fetch any data nor trying to provide a list in which users are supposed to choose ?

Heenawter commented 1 year ago

The search of the new input controls should no longer have this issue + the new options list control now has a dropdown that allows the values to be sorted by document count and/or alphabetically . :+1: