> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/tsr/1.2/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/tsr/1.2.md).

# Traffic Stream Reporter

Traffic Stream Reporter (TSR) is a project that stores information about network users into the MySQL database. It runs in two modes:
- `default` - used for storing information needed for data retention lawful interception
- `dest` - used for storing the number of bytes sent and received from external IPs as well as information about virtual routing and forwarding (VRF) name, interface name, and observation domain name of the User Plane Gateway (UPG) component

TSR consists of three components:

- TSR Collector - listens for IPFIX packets and forwards the packets to the next hop (for example another Collector or the Sink).
- TSR Sink - receives the IPFIX packets from the Collector and stores the relevant information of the packets into a MySQL database.
- TSR Cleaner - runs periodically and removes the outdated data from the MySQL database.
