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

Index pattern to take into consideration which fields have data #81756

Closed
robin13 opened this issue Oct 27, 2020 · 2 comments
Closed

Index pattern to take into consideration which fields have data #81756

robin13 opened this issue Oct 27, 2020 · 2 comments
Labels
enhancement New value added to drive a business result Feature:Data Views Data Views code and UI - index patterns before 8.0 impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort

Comments

@robin13
Copy link
Contributor

robin13 commented Oct 27, 2020

Describe the feature:

It is considered good practice to use the Elastic Common Schema (ECS) for mapping. If you do not know all of the fields which may ever be used, you could just import the entire mapping:
https://github.com/elastic/ecs/blob/master/generated/elasticsearch/7/template.json
This however results in Kibana having LOTS of unused fields listed in any drop-downs where the user should select the field from - the majority of the fields available in the mapping do not have a single document with this field.

Would it be possible in the index pattern interface to have a flag which if enabled (for creating or refreshing an index) would only create field definitions for those fields where there is a mapping defined and at least one document exists with this field in the matching indices. In this way the mapping could be complete for all eventualities, but also the index pattern and resulting available fields in drop-down and auto-complete menues would only show the fields for which some data exists.

@kindsun kindsun added Feature:Data Views Data Views code and UI - index patterns before 8.0 Team:AppArch labels Nov 5, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@lukeelmers lukeelmers added the enhancement New value added to drive a business result label Nov 5, 2020
@exalate-issue-sync exalate-issue-sync bot added impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort labels Jun 21, 2021
@ppisljar
Copy link
Member

ppisljar commented Aug 9, 2022

Thank you for contributing to this issue, however, we are closing this issue due to inactivity as part of a backlog grooming effort. If you believe this feature/bug should still be considered, please reopen with a comment.

@ppisljar ppisljar closed this as not planned Won't fix, can't repro, duplicate, stale Aug 9, 2022
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:Data Views Data Views code and UI - index patterns before 8.0 impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort
Projects
None yet
Development

No branches or pull requests

5 participants