Creating IP-based statistics