From 427e22cfe748c674101cca979dfc90dac5233ce8 Mon Sep 17 00:00:00 2001 From: fengweihao Date: Thu, 28 Nov 2019 10:26:08 +0800 Subject: [PATCH] =?UTF-8?q?TSG-252=20Proxy=20Event=20Logs=E4=B8=ADschema?= =?UTF-8?q?=5Ftype=E5=AD=97=E6=AE=B5=E6=9C=AA=E5=B1=95=E7=A4=BA=E5=86=85?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/business/pangu-http/src/pangu_logger.cpp | 1 + 1 file changed, 1 insertion(+) 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;