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

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.