2022-06-29 01:45:17 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2022-07-12 07:15:21 +00:00
|
|
|
import "Base.proto";
|
|
|
|
|
2022-06-29 01:45:17 +00:00
|
|
|
option java_multiple_files = false;
|
|
|
|
option java_package = "com.yuandian.dataflow.proto.msgtype";
|
|
|
|
option go_package = "../grpc-gen;grpcgen";
|
|
|
|
|
|
|
|
|
|
|
|
package dataflow;
|
|
|
|
|
|
|
|
message UsrFlow {
|
|
|
|
|
2022-08-02 06:48:23 +00:00
|
|
|
int32 table_id = 1; //编号19
|
|
|
|
uint32 probe_if = 2; //探针抓包口
|
|
|
|
IPAddress server_ip = 3; //服务端ip地址
|
|
|
|
IPAddress client_ip = 4; //客户端ip地址
|
|
|
|
uint32 client_port = 5; //客户端端口
|
|
|
|
uint32 client_rtt = 6; //客户端rtt
|
|
|
|
uint32 server_rtt = 7; //服务端rtt
|
|
|
|
uint32 s_tv_sec = 8; //< start time
|
|
|
|
uint32 s_tv_usec = 9; //< start time
|
|
|
|
uint32 e_tv_sec = 10; //< end time
|
|
|
|
uint32 e_tv_usec = 11; //< end time
|
|
|
|
uint32 server_think = 12; //
|
|
|
|
uint32 page_size = 13; //
|
|
|
|
uint32 app_id = 14; //< application idectification
|
|
|
|
uint32 app_group_id = 15; //< application group idectification
|
|
|
|
bytes request_url = 16; //
|
|
|
|
bytes referer_url = 17; //
|
|
|
|
uint32 return_code = 18; //
|
|
|
|
uint32 err_tv_sec = 19; //
|
|
|
|
uint32 err_tv_usec = 20; //
|
|
|
|
uint32 client_loss_pkt = 21; //
|
|
|
|
uint32 server_loss_pkt = 22; //
|
|
|
|
uint32 client_bytes = 23; //
|
|
|
|
uint32 server_bytes = 24; //
|
|
|
|
uint32 client_packets = 25; //
|
|
|
|
uint32 server_packets = 26; //
|
|
|
|
bytes user_agent = 27; //
|
|
|
|
bytes content_type = 28; //
|
|
|
|
uint32 request_transfer_tm = 29; //
|
|
|
|
uint32 time_flag = 30; // <time flag
|
2022-06-29 01:45:17 +00:00
|
|
|
|
|
|
|
}
|