All Collections
UniFi - Controller
UniFi - How to configure Statistics Retention
UniFi - How to configure Statistics Retention

Learn how to set up the Statistics Retention in UniFi

Alex Lowe avatar
Written by Alex Lowe
Updated over a week ago

Running the UniFi Controller can provide a lot of benefits, such as remote access, DPI stats with the USG and UXG and lots of statistics for clients and UniFi devices.


Why would you need to increase the statistics storage?

For example, on a test HostiFi server - everything set to auto and with this US-8-150W switch which has been online for around a month, the CPU and RAM stats only go back for a few hours.

Increasing the logging would make it possible to go back in time further and see what has happened to your devices.

What statistics can you store?

UniFi can store a lot of information with the most recent versions of the application. If you have a USG or UXG, you will be able to view information and logs on DPI, IPS and IDS as well as see what bandwidth and apps a specific client has used over time.

UniFi also has an activity monitor to show when a client roamed to a new BSSID.

How to enable Statistics Retention

These settings can only be configured from the new user interface within UniFi. As of more recent versions of the application, the ability to change it from the legacy user interface has been removed.

First, log into your UniFi Controller and click on 'Settings'

Next, click on 'System'

Then, scroll down right down the bottom of the page until you see the section 'Other Configuration'

To customise the retention time frames, untick the 'Statistics Retention' checkbox

The following options will now be available, you can customise it to how much data you need to collect.


HostiFi provides hosting for Ubiquiti hardware and software, with servers for UniFi and UISP as well as professional network services with HostiFi Pro.

If you run into any issues, send an email to or contact us via live chat.

Did this answer your question?