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

[Logs UI] Support mappings-based runtime fields in the Logs UI #74937

Closed
weltenwort opened this issue Aug 13, 2020 · 8 comments
Closed

[Logs UI] Support mappings-based runtime fields in the Logs UI #74937

weltenwort opened this issue Aug 13, 2020 · 8 comments
Labels
Feature:Logs UI Logs UI feature Project:RuntimeFields Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services
Milestone

Comments

@weltenwort
Copy link
Member

weltenwort commented Aug 13, 2020

🔭 Summary

With elastic/elasticsearch#60100 a new high-level API for retrieving fields from source and stored values was introduced. The goal is to simplify the API even though new features like runtime fields are about to be added (elastic/elasticsearch#59332).

The following issues suggest that the implementation is incomplete at the moment:

These might be mitigated in short order, though, so we should be prepared to switch to the new field retrieval API from the current _source API along with the core Kibana apps.

🎟️ Task breakdown

⚠️ This is potentially incomplete list.

The following areas will need to be switched from _source access to the new fields API:

Other aspects that might require changes:

Open questions

@weltenwort weltenwort added Feature:Logs UI Logs UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services labels Aug 13, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui)

@stacey-gammon
Copy link
Contributor

The following areas will need to be switched from _source access to the new fields API:

There are some differences in the structure of the field values returned from these APIs:

  • Nested fields are flattened
  • Arrays are flattened
  • Subfields are returned

We'll be syncing with ES team to determine what this means for Discover.

@weltenwort
Copy link
Member Author

There are some differences in the structure of the field values returned from these APIs

Good point, thank you. We'll have to adapt the way we format the values.

@mukeshelastic
Copy link

@weltenwort is there more to do to support runtime fields in logs UI? If not, we can close the ticket?

@weltenwort
Copy link
Member Author

Since the description of the issue scopes this to reading and displaying runtime fields in the Logs UI, I think we should be good.

The creation of runtime fields will be handled in a different workstream (e.g. analyst-created runtime fields, index patterns everywhere).

@tbragin
Copy link
Contributor

tbragin commented Jan 6, 2021

@mukeshelastic @weltenwort I misunderstood this effort to represent creation of runtime fields from the Logs UI. If this ticket is not it, where do we have a product brief and ticket for it?

@sgrodzicki sgrodzicki changed the title [Logs UI] Support runtime fields in the Logs UI [Logs UI] Support mappings-based runtime fields in the Logs UI Jan 7, 2021
@mukeshelastic
Copy link

@tbragin For Logs UI, the initial planned user interaction in the context of runtime fields creation, is enabling 'data prep UI' experience of easy log parsing. The product brief for data prep UI is here To build that experience, the foundational pieces are being built - supporting index patterns in our UI, incorporating runtime fields editor to enable the data parsing experience that supports grok. Both of these activities are under design and discussion stage and @weltenwort is representing our team in them. Once we figure out the specifics, we will create tickets for them.

@weltenwort @jasonrhodes Please feel free to correct or add more color as you see fit.

@weltenwort
Copy link
Member Author

weltenwort commented Jan 11, 2021

Yes, the specific steps towards realizing the value have changed with the arrival of runtime fields. IMHO our previous ingest-pipeline-based user workflow doesn't make the best use of the new technology. I hope we'll get around to sketching a workflow that harmonizes better with the "analyst-created runtime fields" and "index patterns everywhere" themes pursued in discover and visualize.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Logs UI Logs UI feature Project:RuntimeFields Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services
Projects
None yet
Development

No branches or pull requests

6 participants