These are the specifications for network flows format, used both internally and when exporting flows to Kafka.
This is the specification of the network flows format. That format is used when a Kafka exporter is configured, for Prometheus metrics labels as well as internally for the Loki store.
The "Filter ID" column shows which related name to use when defining Quick Filters (see spec.consolePlugin.quickFilters
in the FlowCollector
specification).
The "Loki label" column is useful when querying Loki directly: label fields need to be selected using stream selectors.
The "Cardinality" column gives information about the implied metric cardinality if this field was to be used as a Prometheus label with the FlowMetric
API. For more information, see the "FlowMetric API reference".
Name | Type | Description | Filter ID | Loki label | Cardinality |
---|---|---|---|---|---|
|
number |
Number of bytes |
n/a |
no |
avoid |
|
number |
Error number returned from DNS tracker ebpf hook function |
|
no |
fine |
|
number |
DNS flags for DNS record |
n/a |
no |
fine |
|
string |
Parsed DNS header RCODEs name |
|
no |
fine |
|
number |
DNS record id |
|
no |
avoid |
|
number |
Time between a DNS request and response, in milliseconds |
|
no |
avoid |
|
number |
Differentiated Services Code Point (DSCP) value |
|
no |
fine |
|
string |
Destination IP address (ipv4 or ipv6) |
|
no |
avoid |
|
string |
Destination node IP |
|
no |
fine |
|
string |
Destination node name |
|
no |
fine |
|
string |
Name of the destination Kubernetes object, such as Pod name, Service name or Node name. |
|
no |
careful |
|
string |
Destination namespace |
|
yes |
fine |
|
string |
Name of the destination owner, such as Deployment name, StatefulSet name, etc. |
|
yes |
fine |
|
string |
Kind of the destination owner, such as Deployment, StatefulSet, etc. |
|
no |
fine |
|
string |
Kind of the destination Kubernetes object, such as Pod, Service or Node. |
|
yes |
fine |
|
string |
Destination availability zone |
|
yes |
fine |
|
string |
Destination MAC address |
|
no |
avoid |
|
number |
Destination port |
|
no |
careful |
|
string |
Destination subnet label |
|
no |
fine |
|
boolean |
Indicates if this flow was also captured from another interface on the same host |
n/a |
yes |
fine |
|
number |
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: |
n/a |
no |
fine |
|
number |
Flow interpreted direction from the node observation point. Can be one of: |
|
yes |
fine |
|
number |
ICMP code |
|
no |
fine |
|
number |
ICMP type |
|
no |
fine |
|
number |
Flow directions from the network interface observation point. Can be one of: |
|
no |
fine |
|
string |
Network interfaces |
|
no |
careful |
|
string |
Cluster name or identifier |
|
yes |
fine |
|
string |
Flow layer: 'app' or 'infra' |
|
no |
fine |
|
number |
Number of packets |
n/a |
no |
avoid |
|
number |
Number of bytes dropped by the kernel |
n/a |
no |
avoid |
|
string |
Latest drop cause |
|
no |
fine |
|
number |
TCP flags on last dropped packet |
n/a |
no |
fine |
|
string |
TCP state on last dropped packet |
|
no |
fine |
|
number |
Number of packets dropped by the kernel |
n/a |
no |
avoid |
|
number |
L4 protocol |
|
no |
fine |
|
string |
Source IP address (ipv4 or ipv6) |
|
no |
avoid |
|
string |
Source node IP |
|
no |
fine |
|
string |
Source node name |
|
no |
fine |
|
string |
Name of the source Kubernetes object, such as Pod name, Service name or Node name. |
|
no |
careful |
|
string |
Source namespace |
|
yes |
fine |
|
string |
Name of the source owner, such as Deployment name, StatefulSet name, etc. |
|
yes |
fine |
|
string |
Kind of the source owner, such as Deployment, StatefulSet, etc. |
|
no |
fine |
|
string |
Kind of the source Kubernetes object, such as Pod, Service or Node. |
|
yes |
fine |
|
string |
Source availability zone |
|
yes |
fine |
|
string |
Source MAC address |
|
no |
avoid |
|
number |
Source port |
|
no |
careful |
|
string |
Source subnet label |
|
no |
fine |
|
number |
End timestamp of this flow, in milliseconds |
n/a |
no |
avoid |
|
number |
TCP Smoothed Round Trip Time (SRTT), in nanoseconds |
|
no |
avoid |
|
number |
Start timestamp of this flow, in milliseconds |
n/a |
no |
avoid |
|
number |
Timestamp when this flow was received and processed by the flow collector, in seconds |
n/a |
no |
avoid |
|
string |
In conversation tracking, the conversation identifier |
|
no |
avoid |
|
string |
Type of record: 'flowLog' for regular flow logs, or 'newConnection', 'heartbeat', 'endConnection' for conversation tracking |
|
yes |
fine |