Skip to content

Search in the log viewer #51

Backlog
Backlog

Description

@junior

Split out of #37, where @asidko asked for a way to search a pod's logs. #48 covered the rest of that issue: while logs are open, the Actions pane now lists pause, follow and close. The log viewer itself has no search yet.

A possible shape, open to other ideas:

  • f in the log viewer (unbound there today) opens its own search box, as f does for the table's rows, and the Actions pane lists it next to pause and close.
  • Matches are highlighted, the view jumps to the nearest one, and up/down step between matches while the box has focus. Searching pauses following, so the match stays on screen; End follows again, as now.

Questions to settle first:

  • Search only the lines already loaded, or keep pulling older pages until a match turns up? Older pages re-read the log with a larger tail, so searching the whole log of a busy pod could be slow.
  • Highlight and jump, or filter the view down to the matching lines, the way the table's row search filters rows?
  • Case-insensitive plain text like the table's row search, or a regexp as well?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions