0.1.2 • Published 10 years ago

json-log-filter v0.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

json-log-filter

安装

npm install -g json-log-filter

使用

  • 查看响应时间大于 800 毫秒的请求
tail -f access.json.log | filter '*' '_["request-time"]>0.8'
  • 查看 404 的请求
tail -f access.json.log | filter '*' '_.status==404'
  • 过滤出时间在 2016-01-01 10:10 ~ 2016-01-01 10:11 的日志
cat access.json.log | filter 'ip,time,host,uri' '_.time.range("2016-01-01 10:10","2016-01-01 10:11")' 'json' > 20160101-10.log
0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago