Set up TSR in the default mode
Traffic Stream Reporter (TSR) that works in the default mode stores information needed for data retention lawful interception.
It maps internal IP addresses to public IP addresses (NAT). It stores the IMSI, source and destination hosts and ports, the protocol, the NAT event and the session start and end time.
To set up TSR in the default mode on a single cluster, configure the Sink, Collector, and Cleaner components by following this tutorial.
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 specifies the port on which Sink receives the IPFIX packets. The configuration file also contains a reference to your deployed MySQL database that stores data into the
natev_$daytable. The table name is set automatically based on thedefaultsetup type.yamlInstall TSR Sink on the cluster:
bashCreate a TSR Collector configuration file that contains the port on which Collector receives the IPFIX packets and forwards them to Sink available at the specified hostname:
yamlInstall TSR Collector on the cluster:
bashCreate a TSR Cleaner configuration file for the ingress and egress tables. You can specify the exact time when the tables are cleaned. In the examples below, the tables are cleaned after 7 days at midnight.
yamlInstall TSR Cleaner configuration on the cluster:
bash