TSG-19337 Proxy的Manipulate日志中增加P Protocol字段

This commit is contained in:
fengweihao
2024-02-06 18:04:42 +08:00
parent 2c32c20e23
commit cf20f2d1f9
2 changed files with 3 additions and 0 deletions

View File

@@ -253,6 +253,7 @@ int proxy_send_log(struct proxy_logger* handle, const struct proxy_log* log_msg)
cJSON_AddStringToObject(common_obj, "http_version", app_proto[http->major_version]);
cJSON_AddStringToObject(common_obj, "decoded_as", "HTTP");
cJSON_AddStringToObject(common_obj, "ip_protocol", "TCP");
cJSON_AddNumberToObject(common_obj, "out_link_id", 0);
cJSON_AddNumberToObject(common_obj, "in_link_id", 0);
cJSON_AddStringToObject(common_obj, "sled_ip", handle->kafka_logger->local_ip_str);