proto/BussFlowWeb.proto

79 lines
3.8 KiB
Protocol Buffer

syntax = "proto3";
import "Base.proto";
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; //编号22
uint32 msg_type = 2; //消息类型
bytes msg_version = 3; //数据库版本
uint32 msg_seq = 4; //消息的序列号
uint32 msg_len = 5; //消息长度
uint64 src_mac = 6; //源端口物理地址
uint64 dst_mac = 7; //目的端口物理地址
uint32 vlan_id = 8; //链路编号
uint32 tos = 9; //服务类型
uint32 retran_count = 10; //重传数据量
uint32 reset_count = 11; //重置数据量
uint32 zerowin_count = 12; //零窗数据量
uint32 protocol = 13; //协议类型
uint32 response_bytes = 14; //输入字节数
uint32 request_bytes = 15; //输出字节数
uint32 response_packets = 16; //输入数据报个数
uint32 request_packets = 17; //输出数据报个数
bytes seq_ack = 18; //序列号和响应序号
uint32 recog_status = 19; //
uint32 req_method = 20; //请求方法
bytes content_type = 21; //请求数据类型
bytes accept = 22; //接受
uint32 probe_if = 23; //探针编号
bytes channel = 24; //通道
bytes sessionid = 25; //会话id
IPAddress request_ip = 26; //请求ip地址
uint32 request_port = 27; //请求端口
IPAddress response_ip = 28; //ip地址
uint32 response_port = 29; //响应端口
uint32 start_time_tv_sec = 30; //开始时间(秒)
uint32 start_time_tv_usec = 31; //开始时间(微秒)
uint32 end_time_tv_sec = 32; //结束时间(秒)
uint32 end_time_tv_usec = 33; //结束时间(微秒)
int64 server_translate_time = 34; //服务器传输时间
uint32 server_response_start_time_tv_sec = 35; //服务器响应开始时间(秒)
uint32 server_response_start_time_tv_usec = 36; //服务器响应开始时间(微秒)
uint32 server_response_end_time_tv_sec = 37; //服务器响应结束时间(秒)
uint32 server_response_end_time_tv_usec = 38; //服务器响应结束时间(微秒)
int64 server_response_time = 39; //服务器响应时长
int64 client_translate_time = 40; //客户端响应时长
int64 locate_server_translate_time = 41; //本地服务传输时长
int64 locate_server_response_time = 42; //本地服务响应时长
int64 locate_client_translate_time = 43; //本地客户传输时长
bytes x_requested_with = 44; //
bytes operating_sytem = 45; //操作系统
uint32 server_res_code = 46; //服务器返回状态
bytes browser = 47; //浏览器名称
int32 is_uncomplete = 48; //数据完整性
uint32 time_flag = 49; //时间戳
uint32 detail_msg_len = 50; //专属指标值长度
uint32 key_msg_len = 51; //区分子业务参数值长度
uint32 req_len = 52; //请求数据长度
uint32 res_len = 53; //响应数据报长度
uint32 cookie_len = 54; //cookie长度
uint32 begin_url_len = 55; //主URL长度
uint32 refer_url_len = 56; //引用URL长度
uint32 remain_len = 57; //保留字段值长度
bytes bussiness_detail_mesg = 58; //专属指标
bytes bussiness_key_mesg = 59; //区分子业务参数
bytes req_data = 60; //请求详情报文
bytes res_data = 61; //响应详情报文
bytes cookie_data = 62; //cookie详情报文
bytes begin_url = 63; //主url详情
bytes refer_url = 64; //引用url详情
bytes remain_data = 65; //保留字段
}