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

Adding a field name length in index pattern display #74220

Closed
Tracked by #166175
Leaf-Lin opened this issue Aug 4, 2020 · 4 comments
Closed
Tracked by #166175

Adding a field name length in index pattern display #74220

Leaf-Lin opened this issue Aug 4, 2020 · 4 comments
Labels
enhancement New value added to drive a business result Feature:Data Views Data Views code and UI - index patterns before 8.0 Icebox 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 Team:DataDiscovery Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph)

Comments

@Leaf-Lin
Copy link
Contributor

Leaf-Lin commented Aug 4, 2020

Describe the feature:
Is it possible to add another column with the field name length and sortable so that one can identify if there's some problem with mapping explosion (which usually happens with long field names)

Describe a specific use case for the feature:
Screen Shot 2020-08-04 at 11 05 32 am

If the table can be a data grid with all columns configureable (like kibana discover), that will be even better!

Similarly, Elasticsearch also has an issue on restricting default field name length to try avoiding mapping explosion problem. elastic/elasticsearch#58952

Currently, there's no easy way to sort all the fields from all indices and find out which indices or which fields are problematic which often leads to an unstable cluster. If you save your GET _mapping into a mapping.json file, you can use the following jq command to extract the field name length information:

jq -c 'to_entries[] | .value.mappings.doc.properties | select(.!=null) | keys[] ' mapping.json | awk '{ print length-2, $0 }' | sort -n | uniq
@Leaf-Lin Leaf-Lin added enhancement New value added to drive a business result Feature:Data Views Data Views code and UI - index patterns before 8.0 Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Aug 4, 2020
@elasticmachine
Copy link
Contributor

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

@mattkime mattkime added Team:AppArch and removed Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Oct 2, 2020
@elasticmachine
Copy link
Contributor

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

@kibanamachine kibanamachine added this to To triage in kibana-app-arch Oct 2, 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
@petrklapka petrklapka added Team:DataDiscovery Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph) and removed Team:AppServicesSv labels Nov 28, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@kertal
Copy link
Member

kertal commented Oct 23, 2023

Closing this because it's not planned to be resolved in the foreseeable future. It will be tracked in our Icebox and will be re-opened if our priorities change. Feel free to re-open if you think it should be melted sooner.

@kertal kertal added the Icebox label Oct 23, 2023
@kertal kertal closed this as not planned Won't fix, can't repro, duplicate, stale Oct 23, 2023
kibana-app-arch automation moved this from To triage to Done in current release Oct 23, 2023
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 Icebox 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 Team:DataDiscovery Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph)
Projects
kibana-app-arch
  
Done in current release
Development

No branches or pull requests

5 participants