summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2019-11-28 10:26:08 +0800
committerfengweihao <[email protected]>2019-11-28 10:26:08 +0800
commit427e22cfe748c674101cca979dfc90dac5233ce8 (patch)
treece6edeec78179edb378b540b17b031efd79a3245
parent0b8f1ca1e98367b04b540b0cf978feef23f05e1d (diff)
TSG-252 Proxy Event Logs中schema_type字段未展示内容
-rw-r--r--plugin/business/pangu-http/src/pangu_logger.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/business/pangu-http/src/pangu_logger.cpp b/plugin/business/pangu-http/src/pangu_logger.cpp
index 86daaa9..449b44a 100644
--- a/plugin/business/pangu-http/src/pangu_logger.cpp
+++ b/plugin/business/pangu-http/src/pangu_logger.cpp
@@ -210,6 +210,7 @@ int pangu_send_log(struct pangu_logger* handle, const struct pangu_log* log_msg)
cJSON_AddNumberToObject(common_obj, "common_start_time", cur_time);
cJSON_AddNumberToObject(common_obj, "common_end_time", cur_time);
cJSON_AddStringToObject(common_obj, "http_version", app_proto[http->major_version]);
+ cJSON_AddStringToObject(common_obj, "common_schema_type", "HTTP");
uint64_t opt_val;
uint16_t opt_out_size;