Traffic monitor

How can I keep daily/hourly traffic statistics for all clients or selectively for each one individually?

Netdata - powerful harvester, it keeps traffic statistics, but it consumes ram quickly, so I understand that when writing logs to ram, this is a maximum of 12-24 hours of logs for my router. And writing to flash is not safe. And as for me, this is too heavy a package for a router.

Nlbwmon - no statistics by hour or day, only general.

Collectd + luci-app-statistics, is a powerful tool setup monitoring of anything, just need to install the necessary packages, but which ones are needed in my case?
Router- xiaomi ax3000t

For collecting bulk traffic stats over long periods of time vnstat2 is an option. Does not break the traffic down - it is just MB / time for the WAN interface for a large variety of time periods. Once installed shows up under Status → Traffic Monitor.

nlbwmon, I understand that it is managed by client (by MAC address) by date,
even if not by this time.
Is that not the case?

$ nlbw -t 2017-02-01 -c csv -g mac -o mac -q
mac     conns   rx_bytes        rx_pkts tx_bytes        tx_pkts
00:00:00:00:00:00       157     26960   205     17878   218
34:02:86:17:5e:03       327     117213007       83817   3366892 51560```