How do I disable long-term stats (but still log daily queries)?


#1

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

MAXDBDAYS=0

to completely disable the database.

Note that daily logs will still happen unless you have logging turned off. But these will not be saved to the long-term stats database.

For more information see https://docs.pi-hole.net/ftldns/database/


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

5 posts were split to a new topic: Help with MAXDBDAYS


#7

4 posts were split to a new topic: pihole-FTL.conf configuration not saving via web interface