# Per client log (like command -tail-)

**URL:** <https://discourse.pi-hole.net/t/per-client-log-like-command-tail/39484>\
**Category:** Duplicate\
**Created:** [October 16, 2020, 1:59pm UTC](https://discourse.pi-hole.net/t/per-client-log-like-command-tail/39484 "2020-10-16T13:59:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![threefourteen](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/t/c57346/32.png) [@threefourteen](https://discourse.pi-hole.net/u/threefourteen)\
**Post date:** [October 16, 2020, 1:59pm UTC](https://discourse.pi-hole.net/t/per-client-log-like-command-tail/39484/1 "2020-10-16T13:59:58Z")

</div>

To get some unique-client logs I have been using ssh and the commands :  
cd /var/log  
tail -f pihole.log | grep "your-target-ip-here"

Can we have a more refined UI based method to create logs for a specific client? I have checked and we do have Tail pihole.log, under TOOLS. But unless I'm mistaken I can't get a log from a unique single client yet. Perhaps just as simple a box where you type in/or drop-down-menu of registered clients and then select the target client. I would appreciate being able to save the output log to text, as well.

Also, as a comment, perhaps being able to adjust font size of the current pihole.log file (live) ?

---

<div class="post-metadata">

**Author:** ![DanSchaper](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/danschaper/32/91_2.png) [@DanSchaper](https://discourse.pi-hole.net/u/DanSchaper)\
**Post date:** [October 16, 2020, 3:10pm UTC](https://discourse.pi-hole.net/t/per-client-log-like-command-tail/39484/2 "2020-10-16T15:10:08Z")

</div>

Did you open this in Partially Implemented on purpose?

---

<div class="post-metadata">

**Author:** ![Bucking\_Horn](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/bucking_horn/32/18719_2.png) [@Bucking\_Horn](https://discourse.pi-hole.net/u/Bucking_Horn)\
**Post date:** [October 16, 2020, 3:31pm UTC](https://discourse.pi-hole.net/t/per-client-log-like-command-tail/39484/4 "2020-10-16T15:31:45Z")

</div>

From the _Query Log_, if you CTRL-click on an entry in the _Client_ column, that will filter the log for that client; there's also a mouse-over explaining this.  
The client you wish to filter for has to be in view for this approach.

From the _Dashboard_, clicking on an entry under _Top Clients_ will take you to a filtered _Query Log_.  
The client you wish to filter for has to be visible in your _Top Clients_.

You could also filter for an arbitrary client by using the following URL pattern:  
[http://pi.hole/admin/queries.php?client=localhost](http://pi.hole/admin/queries.php?client=localhost)  
or  
[http://pi.hole/admin/queries.php?client=127.0.0.1](http://pi.hole/admin/queries.php?client=127.0.0.1)

---

<div class="post-metadata">

**Author:** ![yubiuser](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/yubiuser/32/12100_2.png) [@yubiuser](https://discourse.pi-hole.net/u/yubiuser)\
**Post date:** [October 16, 2020, 6:46pm UTC](https://discourse.pi-hole.net/t/per-client-log-like-command-tail/39484/5 "2020-10-16T18:46:29Z")

</div>

Closing as duplicate of

> [@Filter the Tail PiHole Log](https://discourse.pi-hole.net/t/filter-the-tail-pihole-log/2699):
>
> I have many Clients in my Network. I was very pleased, if i could set a filter for one specified IP in the Tail PiHole log...

---

<div class="post-metadata">

**Author:** ![yubiuser](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/yubiuser/32/12100_2.png) [@yubiuser](https://discourse.pi-hole.net/u/yubiuser)\
**Post date:** [October 16, 2020, 6:47pm UTC](https://discourse.pi-hole.net/t/per-client-log-like-command-tail/39484/6 "2020-10-16T18:47:40Z")

</div>


