-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
hey @iximiuz - great project
I've been playing around with it with kubernetes logs which are json output and one feature which would be awesome would be nested json objects as part of the map
pq 'json | map { .msg, .time, .res.statusCode as statusCode, .req.url as url } | select url'where log entry is
{"name":"project-name","process":0,"environment":"sandbox","hostname":"masked-magic-api-7679cdd899-wbznv","pid":1,"req_id":"704a1e50-e03b-11eb-bf79-51b92d981c1b","level":30,"res":{"statusCode":200},"duration":0.7862819999999999,"req":{"url":"/health","reqId":"704a1e50-e03b-11eb-bf79-51b92d981c1b","method":"GET","query":{},"userAgent":"curl/7.64.0"},"msg":"request finish","time":"2021-07-08T22:25:45.654Z","v":0}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels