We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cat cfg/strategy.json [ { "id":1, "name":"流量500错误数", "file_path":"/root/log/access.log", "time_format":"yyyy-mm-dd HH:MM:SS", "pattern":"error", "exclude":"", "step":5, "tags":{ }, "func":"cnt", "degree":6, "comment":"我是Error 500" } ]
curl -s -XPOST localhost:8003/check -d 'log=2017/12/01 12:12:06 service error 505, num=10 province=33' | python -m json.tool
{ "body": [], "matched": false }
The text was updated successfully, but these errors were encountered:
"time_format":"yyyy-mm-dd HH:MM:SS", 2017/12/01 12:12:06 service error 505
"time_format":"yyyy-mm-dd HH:MM:SS",
2017/12/01 12:12:06 service error 505
时间格式不对。。。
Sorry, something went wrong.
粗心了,谢谢!~
No branches or pull requests
cat cfg/strategy.json
[
{
"id":1,
"name":"流量500错误数",
"file_path":"/root/log/access.log",
"time_format":"yyyy-mm-dd HH:MM:SS",
"pattern":"error",
"exclude":"",
"step":5,
"tags":{
},
"func":"cnt",
"degree":6,
"comment":"我是Error 500"
}
]
curl -s -XPOST localhost:8003/check -d 'log=2017/12/01 12:12:06 service error 505, num=10 province=33' | python -m json.tool
{
"body": [],
"matched": false
}
The text was updated successfully, but these errors were encountered: