Skip to content

logcli: a way to color log lines based on labels or pattern matching #2260

Closed
@Morriz

Description

Is your feature request related to a problem? Please describe.

We can't easily distinguish (in either streaming nor standard mode) what source the logs lines come from. We have to interpret the source column text now (my brain is too slow for that ;p) which gives headaches.

Describe the solution you'd like

Loki should color the log lines by giving query sources each a preconfigured distinguishable color and reflect those in the source and message part only (to still easily see the standard DEBUG|INFO|WARN|ERR log level colors). The query sources would then preferably have (pre-filled) color selectors to still be able to select another color (to create better readability for individuals with different color preferences).

And all filtering features that reflect visually should of course work also in streaming mode to get insights into the applications working together.

Describe alternatives you've considered

No alternatives exist for Loki as it does not allow for 3rd partly plugins I presume?

Metadata

Assignees

No one assigned

    Labels

    help wantedWe would love help on these issues. Please come help us!keepaliveAn issue or PR that will be kept alive and never marked as stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions