Skip to content

[One Discover] View logs in Context#229927

Description

@achyutjhunjhunwala

馃摀 Summary

In the log stream page, there used to be an action for each row to view relevant logs in context. This context could include surrounding logs from the same file, host or cloud container and it used container.id, log.file.path and host.name fields.

Action menu and "View in Context" modal

Image

Given the log stream page is now deprecated, we have lost this feature as well.

But discover already offers in the DocViewer Flyout, an option to view Surrounding Documents.

We should leverage that logic and re-create view logs in context, a link which would appear right next to Surrounding docs and when clicked, will navigate the user to surrounding docs page, but with different context. It would carry over all the resource level filters of the document and activate them by default.

鉁旓笍 Acceptance Criteria

  • Add a link right next to Surrounding Docs called View logs in Context
  • On click, it should open a new Tab (for now) and navigate the user to the Surrounding Docs page
  • It must carry over all the resource fields and activate them as filters for the last 15 mins

Design

Filters should stay enabled instead of disabled like in Surrounding docs

Image

New action

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions