elastic / kibana

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

Feature Request: Custom Labels in KQL Filtering for Dashboards #195157

Open esraata opened 1 month ago

esraata commented 1 month ago

Description: It would be highly beneficial to have the ability to add custom labels to filters in the Kibana Query Language (KQL) global search bar on dashboards. Currently, filters display technical field names which can be unclear for end-users, especially those with read-only access. By allowing custom labels for KQL filters, we could enhance the user experience by providing more understandable and user-friendly terms.

Use Case: For read-only users or less technical teams who need to interact with Kibana dashboards, it can be challenging to understand the context of filters when they're presented as field names directly from the index. And, it is little confusing end users that they can use/see the custom labels in visualizations and regular filters but not in KQL search. Adding custom labels functionality to the KQL search would make it easier for them to interpret the data they're filtering, improving the accessibility and usability of the dashboards.

Proposed Solution:

Allow users to use custom labels when creating filters in the global KQL search. Display these labels in the search bar and any associated filter badges, while still retaining the technical field names in the backend for query purposes. This enhancement would provide a smoother experience for all users, making dashboards more comprehensible and useful without compromising on functionality.

Thank you for considering this feature!

Image

elasticmachine commented 4 weeks ago

Pinging @elastic/kibana-presentation (Team:Presentation)

Heenawter commented 4 weeks ago

Tagging @elastic/kibana-visualizations, since they own the unified search bar.