File tree Expand file tree Collapse file tree 2 files changed +68
-0
lines changed
config/samples/flowmetrics Expand file tree Collapse file tree 2 files changed +68
-0
lines changed Original file line number Diff line number Diff line change 1+ # Workload flows matrix for TCP/SYN traffic, with labels remapped for focusing on incoming traffic
2+ # More examples in https://github.com/netobserv/network-observability-operator/tree/main/config/samples/flowmetrics
3+ apiVersion : flows.netobserv.io/v1alpha1
4+ kind : FlowMetric
5+ metadata :
6+ name : workload-syn-in
7+ namespace : netobserv
8+ spec :
9+ type : Counter
10+ flatten : [Flags]
11+ labels :
12+ - SrcSubnetLabel
13+ - SrcK8S_Namespace
14+ - SrcK8S_OwnerName
15+ - SrcK8S_OwnerType
16+ - DstSubnetLabel
17+ - DstK8S_Namespace
18+ - DstK8S_OwnerName
19+ - DstK8S_OwnerType
20+ - DstPort
21+ - Flags
22+ filters :
23+ - field : Flags
24+ value : SYN
25+ remap :
26+ SrcK8S_Namespace : from_namespace
27+ SrcK8S_OwnerName : from_workload
28+ SrcK8S_OwnerType : from_kind
29+ SrcSubnetLabel : from_subnet_label
30+ DstK8S_Namespace : namespace
31+ DstK8S_OwnerName : workload
32+ DstK8S_OwnerType : kind
33+ DstSubnetLabel : subnet_label
34+ DstPort : port
Original file line number Diff line number Diff line change 1+ #
2+ # More examples in https://github.com/netobserv/network-observability-operator/tree/main/config/samples/flowmetrics
3+ apiVersion : flows.netobserv.io/v1alpha1
4+ kind : FlowMetric
5+ metadata :
6+ name : workload-syn-out
7+ namespace : netobserv
8+ spec :
9+ type : Counter
10+ flatten : [Flags]
11+ labels :
12+ - SrcSubnetLabel
13+ - SrcK8S_Namespace
14+ - SrcK8S_OwnerName
15+ - SrcK8S_OwnerType
16+ - DstSubnetLabel
17+ - DstK8S_Namespace
18+ - DstK8S_OwnerName
19+ - DstK8S_OwnerType
20+ - DstPort
21+ - Flags
22+ filters :
23+ - field : Flags
24+ value : SYN
25+ remap :
26+ DstK8S_Namespace : to_namespace
27+ DstK8S_OwnerName : to_workload
28+ DstK8S_OwnerType : to_kind
29+ DstSubnetLabel : to_subnet_label
30+ SrcK8S_Namespace : namespace
31+ SrcK8S_OwnerName : workload
32+ SrcK8S_OwnerType : kind
33+ SrcSubnetLabel : subnet_label
34+ DstPort : port
You can’t perform that action at this time.
0 commit comments