TSG-304 tfe日志中增加common_sub_action字段

1)更新配置文件tfe.conf,kni域
2)更新table_info关键字表名
This commit is contained in:
fengweihao
2019-12-02 16:56:51 +08:00
parent 427e22cfe7
commit 70da622393
5 changed files with 20 additions and 8 deletions

View File

@@ -2462,7 +2462,12 @@ void pangu_on_http_end(const struct tfe_stream * stream,
}
}
struct pangu_log log_msg = {.stream=stream, .http=session, .result=ctx->enforce_rules, .result_num=ctx->n_enforce,
.req_body= ctx->log_req_body, .resp_body=ctx->log_resp_body};
.req_body= ctx->log_req_body, .resp_body=ctx->log_resp_body, .action=5};
if(ctx->action == PG_ACTION_MANIPULATE)
{
log_msg.action = ctx->param->action;
}
if ((ctx->action != PG_ACTION_NONE&&
!(ctx_actually_replaced(ctx))) ||