logan icon indicating copy to clipboard operation
logan copied to clipboard

Support for structured logs

Open kbence opened this issue 9 years ago • 0 comments

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.

kbence avatar Mar 05 '17 21:03 kbence