linux networking – How can I get ubuntu network interface stats in the terabyte range?

When I query my server’s network interface stats using either ifconfig or ip -s they’re limited to 999GB and then roll over to 0GB, starting again. Is it possible to change the configuration somehow to allow stats logging in the terabyte range? Or use a different logging tool? I’m using Ubuntu 20.04.

Many thanks.