How to paginate Loki logs inside a Grafana dashboard (not Explore)?

Hi! I’m running the LGTM stack on Kubernetes and storing app logs in Loki. I’m building a dashboard for non-technical users with several filters . The panel uses a LogQL query and the Logs visualization so users can browse raw log lines.

What’s happening:

  • In Explore, the same query lets me page through results using “Older logs”, so I can traverse all logs in the selected time range.
  • In a dashboard:
    • The Logs panel shows only the most recent lines returned by the query and there is no pagination / “load more” control.
    • If I switch to a Table panel, I can enable “Pagination”, but it only paginates the already fetched rows. It still honors the query caps (panel Line limit, data source Maximum lines, and Loki’s max_entries_limit_per_query), so it’s not true server-side paging across the full result set.

I want Keep non-technical users inside the dashboard and let them page through all matching logs for the chosen time window and filters, ideally something like “Older logs” / infinite scroll / cursor-based paging within a dashboard panel.

Questions

  • I need a dashboard visualization that can show all matching logs for the selected time range, ideally via true server-side pagination / infinite scroll (or a supported pattern that keeps loading older logs until the end of the range). Is there a way to do this today (native or plugin)?
  • If not, what’s the recommended approach to let users view all logs from within the dashboard (without switching to Explore)?
  • Are there any roadmap plans to bring Explore-style paging / “load more” into dashboard log panels (Logs or Table)?

Thanks for any pointers!

It’s already there. Use log panel and enable it:

Thank you very much @jangaraj I installed the LGTM stack using the lgtm-distributed Helm chart, given the name and the fact it’s the only one that includes everything, it seemed like the official and most sensible option. However, I see it’s running Grafana 10.4.3 and Loki 2.9.6, and it hasn’t been updated during this year. Do you know what’s going on with this chart? Is the Grafana team planning to update it? What would be the most sensible way to install the LGTM stack?

I don’t know. I guess there is a lack of Helm maintainers/automation in this case.
I would install dedicated Helm charts instead of a single umbrella Helm chart.