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


#1

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

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

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


#3

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


#4

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.