Query Log -> Able to query blocked or forwareded only


#1

Hello,

as the title say, an option to only query for blocked or forwarded would be neat, as often I only need to see the blocked from a given IP, but I need to go thru all the forwarded as well, and there is many as you know :slight_smile:


#2

forwarded:

sed -n ā€˜/forwarded/pā€™ /var/log/pihole.log

blocked:

sed -n ā€˜/0.0.0.0/p;/ ::$/pā€™ /var/log/pihole.log


#3

You can query the database located at /etc/pihole/pihole-FTL.db