syntax = "proto3"; option java_multiple_files = false; option java_package = "com.yuandian.dataflow.proto.msgtype"; option go_package = "../grpc-gen;grpcgen"; package dataflow; message BussFlowWeb { int32 table_id = 1; string id = 2; //id int32 msg_len = 3; //消息长度 int32 msg_type = 4; //消息类型 int64 src_mac = 5; int64 dst_mac = 6; int32 protocol = 7; //协议名 string session_serial_number = 8;//会话序列号 string buss_type = 9;//业务服务资源编码(C_01) // string net_segment = 10;//网段标识(客户-web) int64 request_ip = 11;//Web客户端IP int32 request_port = 12;//Web客户端端口 int64 response_ip = 13;//Web服务器IP int32 response_port = 14;//Web服务器端口 int64 start_tv_sec = 15;//Web开始时间秒 int64 start_tv_usec = 16;//开始时间毫秒 int64 end_tv_sec = 17;//结束时间秒 int64 end_tv_usec = 18;//结束时间微妙 string disc_resource_ident = 19; //web:url mid:apiBody db:sql string operating_system = 20; //web:操作系统 midd:interfaceName db:db_name //web midd string session_id = 21;//sessionid int32 request_msg_length = 22; //请求报文长度 string request_msg_detail = 23; //请求报文详情 int32 response_msg_length = 24; //响应报文长度 string response_msg_detail = 25; //响应报文详情 //web段 string reter_url = 26; string x_requested_with = 27; int64 req_method = 28; //请求方式 string content_type = 29; //请求类型 string accept = 30; //jieshou int32 req_cookie_leng = 31;//请求cookie报文长度 string req_cookie_detail = 32;//请求cookie报文详情 int64 t_intodb_time = 33; int32 load_or_step = 34; //0: 页面 1:加载项 2:非web段数据 string business_detail_mesg = 35; string bussiness_key_mesg = 36; //关键字 格式:key=val|key=val.... int32 is_uncomplete = 37; //组包是否完全 0:组包完整 1:不完整 int32 deal_state = 38; // 默认为1 int32 server_res_code = 39; int64 server_response_time = 40; int64 client_translate_time = 41; string browser = 42; int32 server_start_tv_sec = 43; int64 server_start_tv_usec = 44; int32 server_end_tv_sec = 45; int64 server_end_tv_usec = 46; string probe_ip = 47; int32 probe_if = 48; int64 server_translate_time = 49; int64 time_flag = 50; string channel = 51; string base_code = 52; string ori_url = 53; string remain_data = 54; int64 bytes_in = 55; int64 bytes_out = 56; int32 package_in = 57; int32 package_out = 58; string data_id = 59; int32 filter_id = 60; string white_character = 61; // tokenId string token_id = 62; // 判断是否是首端资源( 2 ) int32 segment_id = 63; }