# Infinite Scroll on Query Logs + "Live" view

**URL:** <https://discourse.pi-hole.net/t/infinite-scroll-on-query-logs-live-view/24958>\
**Category:** Duplicate\
**Created:** [October 28, 2019, 1:24pm UTC](https://discourse.pi-hole.net/t/infinite-scroll-on-query-logs-live-view/24958 "2019-10-28T13:24:45Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![YouveGotMeowxy](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/youvegotmeowxy/32/17553_2.png) [@YouveGotMeowxy](https://discourse.pi-hole.net/u/YouveGotMeowxy)\
**Post date:** [October 28, 2019, 1:24pm UTC](https://discourse.pi-hole.net/t/infinite-scroll-on-query-logs-live-view/24958/1 "2019-10-28T13:24:45Z")

</div>

On this page: [http://pi.hole/admin/queries.php](http://pi.hole/admin/queries.php)

I would love for the Query logs to be both "live" (where it lists new queries AS they happen, perhaps a check-box on it's page to pause or stop them when wanting to?), as well as infinite scroll pagination, so we don't have to do the 'archaic' click click click click click to go the the next page each time. 🙂

Like this: [How to Create Facebook Like Infinite Scroll Pagination using PHP and jQuery - Phppot](https://phppot.com/php/how-to-create-facebook-like-infinite-scroll-pagination-using-php-and-jquery/)

---

<div class="post-metadata">

**Author:** ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)\
**Post date:** [October 28, 2019, 1:57pm UTC](https://discourse.pi-hole.net/t/infinite-scroll-on-query-logs-live-view/24958/2 "2019-10-28T13:57:23Z")

</div>

> [@YouveGotMeowxy](#):
>
> I would love for the Query logs to be both “live” (where it lists new queries AS they happen, perhaps a check-box on it’s page to pause or stop them when wanting to?)

This feature exists - it is called "tailing" the pihole log. It can be done either from the web admin GUI \> Tools \> Tail pihole.log, or from the Pi terminal with` pihole -t`

Tailing from the command line will color code the blocked requests, making them easier to see in the output.

 ![image](https://discourse.pi-hole.net/uploads/default/original/2X/a/a92f0cb0f6f19db2ce7f8117fe1a15aba63f4742.jpeg)

> [@YouveGotMeowxy](#):
>
> as well as infinite scroll pagination, so we don’t have to do the ‘archaic’ click click click click click to go the the next page each time.

This also exists. On the query log, first select "show all" at the top. Then in the dialogue box, select show all, and all the queries for the past 24 hours are shown on an infinite scroll.

 ![image](https://discourse.pi-hole.net/uploads/default/original/2X/3/315b8e0175716fb344235a8bf059aa5b4cb6f30b.jpeg)

---

<div class="post-metadata">

**Author:** ![YouveGotMeowxy](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/youvegotmeowxy/32/17553_2.png) [@YouveGotMeowxy](https://discourse.pi-hole.net/u/YouveGotMeowxy)\
**Post date:** [October 28, 2019, 2:01pm UTC](https://discourse.pi-hole.net/t/infinite-scroll-on-query-logs-live-view/24958/3 "2019-10-28T14:01:34Z")

</div>

Thank you. Yes, I know about tailing 🙂  
But it's less convenient to have to run an external terminal when wanting to view it, rather than simply click on the Queries tab. 🙂

Also, adding it to the default queries tab (as opposed to the Tail pihole.log) tab, allows seeing it in the same format/view as shown in the regular queries tab, as well as being able to click the item for filtering.

Regarding infinite scroll, I'd love that regardless of whether 'live queries' are shown in that list or not. 🙂

---

<div class="post-metadata">

**Author:** ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)\
**Post date:** [October 28, 2019, 2:08pm UTC](https://discourse.pi-hole.net/t/infinite-scroll-on-query-logs-live-view/24958/4 "2019-10-28T14:08:00Z")

</div>

> [@YouveGotMeowxy](#):
>
> allows seeing it in the same format/view as shown in the regular queries tab

Tailing the log provides different information than the query log. The query log shows a higher level summary, while tailing the log shows all activity in real time. These are different things and it makes little sense to turn the log tail into a display that already exists. The query log populates in real time, as does the log tail. You can click items there for filtering.

> [@YouveGotMeowxy](#):
>
> It’s less convenient to have to run an external terminal when wanting to view it, rather than simply click on the Queries tab.

As noted, you don't need to run an external terminal, you just click a different section of the web admin GUI.

---

<div class="post-metadata">

**Author:** ![YouveGotMeowxy](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/youvegotmeowxy/32/17553_2.png) [@YouveGotMeowxy](https://discourse.pi-hole.net/u/YouveGotMeowxy)\
**Post date:** [October 28, 2019, 2:15pm UTC](https://discourse.pi-hole.net/t/infinite-scroll-on-query-logs-live-view/24958/5 "2019-10-28T14:15:03Z")

</div>

Perhaps just merge the 2 logs into the regular Queries tab, showing all details, so you don't need the pihole.log view at all?

From there you can add checkboxes above the listview to 'filter out' any info you may not want to see.

As an aside, are you the developer of Pi-hole? You seem very resistant to all enhancement suggestions.

---

<div class="post-metadata">

**Author:** ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)\
**Post date:** [October 28, 2019, 2:24pm UTC](https://discourse.pi-hole.net/t/infinite-scroll-on-query-logs-live-view/24958/6 "2019-10-28T14:24:30Z")

</div>

> [@YouveGotMeowxy](#):
>
> As an aside, are you the developer of Pi-hole? You seem very resistant to all enhancement suggestions.

I am not a developer (there are more than one). I'm inquiring why these features are needed and what you expect them to do. The community votes on feature requests and if the (handful of volunteer) developers can incorporate them, they do so. Priority is given to those feature requests that improve the core functionality of Pi-Hole.

Feature requests remain open for community voting until either implemented or determined to be out of scope by the developers.

---

<div class="post-metadata">

**Author:** ![YouveGotMeowxy](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/youvegotmeowxy/32/17553_2.png) [@YouveGotMeowxy](https://discourse.pi-hole.net/u/YouveGotMeowxy)\
**Post date:** [October 31, 2019, 7:35pm UTC](https://discourse.pi-hole.net/t/infinite-scroll-on-query-logs-live-view/24958/7 "2019-10-31T19:35:12Z")

</div>

Exactly why I asked. It seems you are more interested in talking me out of my requests than simply asking what I expect them to do. You've done it on 2 posts of mine (the _only_ 2 posts of mine).

I came here to suggest enhancements, and let people vote on them; not to be discouraged and 'talked out' of the requests.

---

<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 31, 2019, 8:00pm UTC](https://discourse.pi-hole.net/t/infinite-scroll-on-query-logs-live-view/24958/8 "2019-10-31T20:00:31Z")

</div>

Keep it civil please.

---

<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:** [June 13, 2020, 10:36am UTC](https://discourse.pi-hole.net/t/infinite-scroll-on-query-logs-live-view/24958/9 "2020-06-13T10:36:33Z")

</div>

I'm going to close this FR in favor of

> [@Add refresh and (or) live option to query log](https://discourse.pi-hole.net/t/add-refresh-and-or-live-option-to-query-log/20262):
>
> Hey all, Love love love Pi-Hole! But a feature that seems to be missing for me is a simple refresh button on the query log page. Would also be great to have a checkbox or option that allows one to view the requests in real time. As it is, I have to constantly refresh the page for new entries

as it is covering the same features.

---

<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:** [June 13, 2020, 10:36am UTC](https://discourse.pi-hole.net/t/infinite-scroll-on-query-logs-live-view/24958/10 "2020-06-13T10:36:36Z")

</div>

Closed on June 13, 2020, 10:36am UTC


