diff --git a/pkg/model/fields/fields.go b/pkg/model/fields/fields.go index 64d0b2163..1ab63bcc8 100644 --- a/pkg/model/fields/fields.go +++ b/pkg/model/fields/fields.go @@ -46,6 +46,7 @@ const ( FlowDirection = "FlowDirection" Interfaces = "Interfaces" IfDirections = "IfDirections" + NetworkEvents = "NetworkEvents" DNSID = "DnsId" DNSLatency = "DnsLatencyMs" DNSErrNo = "DnsErrno" @@ -91,7 +92,8 @@ func IsArray(v string) bool { switch v { case IfDirections, - Interfaces: + Interfaces, + NetworkEvents: return true default: return false diff --git a/web/src/api/ipfix.ts b/web/src/api/ipfix.ts index 8addfe9a1..b34f668ff 100644 --- a/web/src/api/ipfix.ts +++ b/web/src/api/ipfix.ts @@ -115,6 +115,8 @@ export interface Fields { Interfaces?: string[]; /** Flow direction array from the network interface observation point */ IfDirections?: IfDirection[]; + /** Network Events */ + NetworkEvents?: string[]; /** Logical OR combination of unique TCP flags comprised in the flow, as per RFC-9293, with additional custom flags to represent the following per-packet combinations: SYN+ACK (0x100), FIN+ACK (0x200) and RST+ACK (0x400). */ Flags?: number; /** Number of packets */