# Unable to view older pod logs in Lens

**URL:** <https://forums.k8slens.dev/t/unable-to-view-older-pod-logs-in-lens/6767>\
**Category:** Feature Requests\
**Tags:** lens-desktop, kubernetes\
**Created:** [January 16, 2026, 7:48am UTC](https://forums.k8slens.dev/t/unable-to-view-older-pod-logs-in-lens/6767 "2026-01-16T07:48:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mytestomailer](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/m/45deac/32.png) [@mytestomailer](https://forums.k8slens.dev/u/mytestomailer)\
**Post date:** [January 16, 2026, 7:48am UTC](https://forums.k8slens.dev/t/unable-to-view-older-pod-logs-in-lens/6767/1 "2026-01-16T07:48:28Z")

</div>

Hi everyone 👋

I’m facing an issue with **Lens** regarding pod logs.

Lens only shows logs for a **very recent time window**.  
For example:

- Current time is 11:50
- I can only see logs from around 11:07 to 11:50
- I’m unable to scroll back or access older logs

Is this a known limitation of Lens?  
Is there any setting to adjust (log buffer, tail size, retention, etc.)?  
Or does Lens strictly rely on the cluster’s logging configuration (container runtime, log rotation, etc.)?

Any insight or workaround would be appreciated  
Thanks!

---

<div class="post-metadata">

**Author:** ![phorsmalahti](https://forums.k8slens.dev/user_avatar/forums.k8slens.dev/phorsmalahti/32/560_2.png) [@phorsmalahti](https://forums.k8slens.dev/u/phorsmalahti)\
**Post date:** [January 16, 2026, 7:49am UTC](https://forums.k8slens.dev/t/unable-to-view-older-pod-logs-in-lens/6767/2 "2026-01-16T07:49:27Z")

</div>

If you keep scrolling back, what happens? Lens should load more logs from the past if you reach the top of the logs window.

Can you use the date picker to jump back in time?

Do you see more logs with kubectl?

---

<div class="post-metadata">

**Author:** ![mytestomailer](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/m/45deac/32.png) [@mytestomailer](https://forums.k8slens.dev/u/mytestomailer)\
**Post date:** [January 19, 2026, 7:42am UTC](https://forums.k8slens.dev/t/unable-to-view-older-pod-logs-in-lens/6767/3 "2026-01-19T07:42:12Z")

</div>

When I scroll up, it’s the same behavior.  
For example, if the current time is 11:50, I can only scroll back to around 11:07 and it doesn’t go any further.

Using the date picker has the same issue: even when selecting an earlier date, Lens snaps back to the current time window instead of showing older logs.

Also, testing with `kubectl logs` shows the same behavior: I can only see logs from the previous day up to today. Logs older than that do not appear.

It seems that neither Lens nor `kubectl` can access logs older than this range, likely due to log rotation or retention on the node.

---

<div class="post-metadata">

**Author:** ![crothmann](https://forums.k8slens.dev/user_avatar/forums.k8slens.dev/crothmann/32/1544_2.png) [@crothmann](https://forums.k8slens.dev/u/crothmann)\
**Post date:** [January 19, 2026, 7:44am UTC](https://forums.k8slens.dev/t/unable-to-view-older-pod-logs-in-lens/6767/4 "2026-01-19T07:44:38Z")

</div>

Hello @mytestomailer,

Thanks for the report — if `kubectl logs` hits the same cutoff, Lens is most likely just seeing what the cluster still has. Older pod logs are probably already rotated/expired on the node, so neither kubectl nor Lens can fetch them.

---

<div class="post-metadata">

**Author:** ![mytestomailer](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/m/45deac/32.png) [@mytestomailer](https://forums.k8slens.dev/u/mytestomailer)\
**Post date:** [January 21, 2026, 8:32am UTC](https://forums.k8slens.dev/t/unable-to-view-older-pod-logs-in-lens/6767/5 "2026-01-21T08:32:11Z")

</div>

I have a follow-up question:  
Is there a way to configure Kubernetes (or the node / kubelet / container runtime) so that `kubectl logs` can retain logs over a longer time window?

Also, from your experience, does increasing log retention have any significant negative impact (disk usage, performance, node stability)?  
What would you recommend as a good balance, or best practice, in this case?

Thanks again for the guidance, really appreciated.

---

<div class="post-metadata">

**Author:** ![mytestomailer](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/m/45deac/32.png) [@mytestomailer](https://forums.k8slens.dev/u/mytestomailer)\
**Post date:** [January 21, 2026, 8:32am UTC](https://forums.k8slens.dev/t/unable-to-view-older-pod-logs-in-lens/6767/6 "2026-01-21T08:32:15Z")

</div>

Thanks for the clarification, that makes sense  
I confirmed the same cutoff with `kubectl logs`, so it’s clear now that Lens is just reflecting what’s still available on the node.  
Appreciate the help!
