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

[ML][Maps] Add show-in-maps button to ML UX #69064

Closed
thomasneirynck opened this issue Jun 12, 2020 · 5 comments
Closed

[ML][Maps] Add show-in-maps button to ML UX #69064

thomasneirynck opened this issue Jun 12, 2020 · 5 comments
Assignees
Labels
[Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation enhancement New value added to drive a business result :ml

Comments

@thomasneirynck
Copy link
Contributor

thomasneirynck commented Jun 12, 2020

When anomalies have a spatial component (e.g. geo_point or geo_shape), consider the possibility of adding a button to the job results (and potentially datatransform). Pressing this button would open the Maps app with a map of the ML-job (with separate layers showing anomalies, reference values, ...)

It behave similar to the "visualize" buttons in Discover when geo_point or geo_shape fields are detected.

This would automate a common manual workflow.

There were some lower-level efforts that likely make this possible, specifically the addition of multi-layer templates: #67544

Similarly, Maps could add a "ML" layer-wizard in Maps itself. If Maps detects an ML-index pattern with geo-fields, Maps can provide a layer-template shortcut (similar to Observability or Security layers).

See also #59659

cc @benwtrent @nreese @jsanz @alvarezmelissa87

@thomasneirynck thomasneirynck added [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation enhancement New value added to drive a business result :ml labels Jun 12, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-gis (Team:Geo)

@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@thomasneirynck
Copy link
Contributor Author

thomasneirynck commented Feb 8, 2021

This ended up taking a slightly different direction:

As a first step, maps are now (7.12 and up) embedded inside the anomaly-explorer application, to show maps with anomaly data: #88416

--

Next steps:

Investigate further, on how to add this hotlinking experience between ML-Maps. This will require Maps to allow interfacing with data which are not index patterns, in this case the internal ml-anomaly-index, which has a custom API.

  • This custom interface would require some trade-offs wrt querying/filtering in Maps: ie. the global query/filter bar in the Maps-application only works for data backed by index-patterns. This ML-layer would not be queryable/fitlerable as a result.
  • Maps-team also should explore whether it is possible for external plugins to register custom data sources (e.g. an anomaly-data-source) to the Maps-plugin at bootstrap time. This would enable ML team to own the code and domain-knowledge in how to translate anomaly-data into a map-layer inside the ML-plugin.

@thomasneirynck
Copy link
Contributor Author

update: created #90497 as a POC on how ML-plugin could register a new source-type with the Maps-plugin. to be discussed. Will add more detailed description in that PR.

@thomasneirynck
Copy link
Contributor Author

Closed by #128697

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation enhancement New value added to drive a business result :ml
Projects
None yet
Development

No branches or pull requests

4 participants