建议增加匹配百分比
b1gcat opened this issue · comments
b1gcat commented
例如,要同时匹配几个条件才算匹配成功,有时候客户可能经过了nginx代理,会缺少写信息,这样就匹配不上了,如果有个百分比,还能人工看下。
例如当server是nginx,但是error匹配,则50%匹配
{
"path": "/",
"request_method": "get",
"request_headers": {},
"request_data": "",
"status_code": 0,
"headers": {
"server": "apisix"
},
"keyword": [
"{\"error_msg\":\"404 Route Not Found\"}"
],
"favicon_hash": [],
"priority": 3,
"name": "apache-apisix"
},
三米前有蕉皮 commented
不同匹配位置可以做,但是感觉很奇怪,误报也可能会增多,应该把这个请求头删除掉