Set up TSR Sink for FlowUsage biflow IPFIX messages
Traffic Stream Reporter (TSR) that handles FlowUsage biflow IPFIX messages, stores information about network flows. It stores how many bytes and packets were sent to and from an external IP address. Additionally, the virtual routing and forwarding (VRF) name, interface name, and observation domain name are stored.
Prerequisites
- Kubernetes 1.18Opens in a new tab or newer
- Helm clientOpens in a new tab 3.9.2 or newer
- MySQL database
Steps
Create a namespace for your TSR installation:
bashCreate a TSR Sink configuration file that saves information from the IPFIX packages into your deployed MySQL database. The information is stored in the
egress_$dayandingress_$daytables. You can adjust the ueNet parameter to classify the IPFIX message in egress or ingress so that it can be stored in the corresponding database tables:yamlInstall TSR Sink on the cluster:
bashFetch all flowUsage data from the database with the SQL statement below. The table name is
traffic_YEAR_MONTH_DAY.sql