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):

DBFILE=

Then delete the database:

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

hi,
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.

1 Like

A post was split to a new topic: Deleted long term database, can I restore it?