diff options
| author | fengweihao <[email protected]> | 2023-04-26 16:12:29 +0800 |
|---|---|---|
| committer | fengweihao <[email protected]> | 2023-04-26 16:12:29 +0800 |
| commit | 3523e8a951420ce870425ac13b87b8a3889afa98 (patch) | |
| tree | 1d66f66546a34a408e68ebc4d6f285ef79689106 /plugin/business/tsg-http/src/tsg_http.cpp | |
| parent | b9a8a45540e7af94cf67c133963a2a28c75ddb9f (diff) | |
fieldstat3的metrc支持输出vsysid
Diffstat (limited to 'plugin/business/tsg-http/src/tsg_http.cpp')
| -rw-r--r-- | plugin/business/tsg-http/src/tsg_http.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/business/tsg-http/src/tsg_http.cpp b/plugin/business/tsg-http/src/tsg_http.cpp index 7d641b1..e6f6bd3 100644 --- a/plugin/business/tsg-http/src/tsg_http.cpp +++ b/plugin/business/tsg-http/src/tsg_http.cpp @@ -3270,6 +3270,7 @@ void proxy_send_metric_log(const struct tfe_stream * stream, struct proxy_http_c for(i=0; i< ctx->n_enforce; i++) { + fieldstat->tags[thread_id][TAG_VSYS_ID].value_int = ctx->enforce_rules[i].vsys_id; fieldstat->tags[thread_id][TAG_RULE_ID].value_int = ctx->enforce_rules[i].config_id; fieldstat->tags[thread_id][TAG_ACTION].value_int = ctx->enforce_rules[i].action; if(ctx->enforce_rules[i].action == PX_ACTION_MANIPULATE) |
