📜  json 漂亮的尾部日志 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:41.428000             🧑  作者: Mango

代码示例1
$ tail -f myLogFile | jq -Rr 'split("\t") | [.[0], (.[2] | fromjson.log)] | join("\t")'
2019-07-04T09:53:04-07:00   The content
2019-07-04T10:15:37-07:00   I'm actually
2019-07-04T10:15:37-07:00   Interested on