Adding fields into access log protocol (#91)
diff --git a/ebpf/accesslog.proto b/ebpf/accesslog.proto
index ef560a3..d64140a 100644
--- a/ebpf/accesslog.proto
+++ b/ebpf/accesslog.proto
@@ -51,6 +51,8 @@
repeated EBPFAccessLogNodeNetInterface netInterfaces = 2;
// System boot time
Instant bootTime = 3;
+ // Cluster name
+ string clusterName = 4;
}
message EBPFAccessLogNodeNetInterface {
@@ -69,6 +71,8 @@
DetectPoint role = 3;
// is the connection using TLS or not
AccessLogConnectionTLSMode tlsMode = 4;
+ // application protocol type
+ AccessLogProtocolType protocol = 5;
}
message ConnectionAddress {
@@ -327,6 +331,11 @@
RecvMmsg = 5;
}
+enum AccessLogProtocolType {
+ TCP = 0;
+ HTTP = 1;
+}
+
message EBPFTimestamp {
oneof timestamp {
EBPFOffsetTimestamp offset = 1;