Skip to content

Support for structured logs #2

Open
@kbence

Description

@kbence

Logan should support JSON structured logs, where every line is a separate JSON object. Fields should be accessible through their names (or jq-like selectors for more complex cases).

E.g. in the following example:

{"time": 1234567890, "message": "msg", "userId": 54321}

fields should be accessible as $time, $message, $userId in filters and time, message, userId in field lists.

AST needs to be modified for that, maybe it's worth to first fix that issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions