Tuesday, April 23, 2019

Tweak PI-Hole so Query Log and Long Term Queries Display in 100 Rows

This can be changed here
/var/www/html/admin/scripts/pi-hole/js/queries.js:
sudo nano  /var/www/html/admin/scripts/pi-hole/js/queries.js

Go down to:
"lengthMenu": [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]],
and delete both number 10's to default it to 25, etc.


/var/www/html/admin/scripts/pi-hole/js/queries.js On the line that says
APIstring += "=100"
100 is the amount of queries displayed by default in Query Log. You can change that to display up to 500:
APIstring += "=500"

No comments: