How do I delete long-term stats from Pi-hole?


Add the following line to /etc/pihole/pihole-FTL.conf (create this file if it does not exist):


Then delete the database:

rm -f /etc/pihole/pihole-FTL.db

Dashboard Reset
Clearing Graph keys in Forward Destinations (integrated) of old Dns resolver description keys in v3.3/FTL 3.0

is there no need to recreate the database?
or, why just dont you delete the entries instead of the whole database?


Stats aren’t required for Pi-hole; they just offer insight into your network. You can also disable the stats.


thx. i got it know. My aim was just to clear the long term data (pihole-FTL.db) once. But i now know ho to do and i understand what settings in .conf are needed.