[Logs UI] Retrieve log entry field values via the unified fields API #76506
Labels
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
Summary
Right now the Logs UI is accessing the values of the log entry documents via
_source
, while some other parts of the UI (such as the query bar) use the mapping to determine the field list. This means that fields that don't have one-to-one correspondence between the mapping and the source will behave inconsistently. This is especially true for field types like alias fields and runtime fields. In order to make the behavior more consistent and support the various mapped field types the values of log entries should be accessed via the fields API.Acceptance criteria
getLogEntries
function of thelogEntries
lib uses the fields API instead of_source
.getLogItem
function of thelogEntries
lib uses the fields API instead of_source
.logAnalysis
lib use the fields API instead if_source
.Open questions
The text was updated successfully, but these errors were encountered: