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

Add nested and object root field info to the index pattern #54957

Closed
Tracked by #166175
Bargs opened this issue Jan 15, 2020 · 4 comments
Closed
Tracked by #166175

Add nested and object root field info to the index pattern #54957

Bargs opened this issue Jan 15, 2020 · 4 comments
Labels
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

@Bargs
Copy link
Contributor

Bargs commented Jan 15, 2020

We currently filter out fields mapped as nested or object from the index pattern's field list. Their children exist in the index pattern, but the root field does not. For example:

{
  "foo": {
    "bar": "baz"
  }
}

foo.bar will be in the index pattern, but foo will not.

The root isn't generally useful because it's not a field that has a scalar value that can be queried or aggregated on, so we almost never want to show it to the user in a list of suggested fields.

However, we have run into a situation where we need to know about those roots. I tried to solve that problem by adding those nested roots to the index pattern's field list, but that caused issues in other apps that display all of the fields in that list without any filtering, like maps and canvas. @timroes and I were discussing this and we decided it probably makes sense to store information about these roots in a separate property on the index pattern instead of shoving them into the existing field list, because they are very different from other fields and you could argue that they are not really fields at all.

@Bargs Bargs added Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Data Views Data Views code and UI - index patterns before 8.0 labels Jan 15, 2020
@elasticmachine
Copy link
Contributor

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

@elasticmachine
Copy link
Contributor

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

@timroes timroes removed the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Oct 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
@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 Sep 24, 2024

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 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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
None yet
Development

No branches or pull requests

5 participants