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 ability to detect if index-pattern implements ECS #69856

Closed
Tracked by #166175
thomasneirynck opened this issue Jun 24, 2020 · 9 comments
Closed
Tracked by #166175

Add ability to detect if index-pattern implements ECS #69856

thomasneirynck opened this issue Jun 24, 2020 · 9 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

@thomasneirynck
Copy link
Contributor

thomasneirynck commented Jun 24, 2020

It would be useful if we could determine if an index-pattern implements ECS.

This is especially relevant because ECS has tighter semantics on some of the fields.

e.g. in ECS (https://www.elastic.co/guide/en/ecs/current/ecs-geo.html), the *.geo.country_iso_code and *.geo.region_iso_code fields contain iso-3166-1 and iso-3166-2 identifiers respectively. The UX can use these for initializing configurations for maps with countries or provinces/states/... without requiring the user to manually configure this.

@elasticmachine
Copy link
Contributor

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

@mattkime mattkime added the Feature:Data Views Data Views code and UI - index patterns before 8.0 label Jun 24, 2020
@mattkime
Copy link
Contributor

This definitely sounds like something index patterns should help with.

Index pattern content is very closely tied to the _field_caps api call. It would be helpful if the info we needed somehow fit into its results. It certainly should be available somewhere in ES since index pattern lists need to be regenerated.

Maybe we can figure out how this might work and take a guess at the effort level. Then we can place it on the roadmap.

@thomasneirynck
Copy link
Contributor Author

thanks @mattkime ,happy to help evaluate this. Maps would have an immediate use for it. We're adding more&more layer-templates to Maps (e.g. SIEM, APM, ...), which aim to "auto-magically" configure layers requiring the least manual intervention. The latest example is where this would be useful would be here #69699

@thomasneirynck
Copy link
Contributor Author

Maps introduced a utility that added some heuristic for the geo-field names #94969, to determine if they match ECS-geo-field names.

@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 14, 2023

Quick chat of @jughosta with @kertal: "When users create data views, they could get more insights about the targeted indices, if they contain ECS data and maybe about the fields, it's about preventing unexpected errors when there are field conflicts"

@kertal
Copy link
Member

kertal commented Sep 14, 2023

@thomasneirynck do you have some updates about ECS related topics and the usage in Kibana?

@kertal
Copy link
Member

kertal commented Mar 22, 2024

@mattkime to add detection seems to be a low hanging fruit when fields are available (the data view ain't lazy), it just needs to check for the ecs.version field

Image

@kertal
Copy link
Member

kertal commented Sep 19, 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 19, 2024
@kertal kertal added the Icebox label Sep 19, 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