question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide search capability on pod details Logs tab

See original GitHub issue

Today when clicking on a pod to get the pod details sidecar, the Logs tab will show either the streaming logs or not (if the user disables streaming). While this is useful, if there is a lot of log output, it may be hard to locate specific log statements the user cares about.

If using a normal text based terminal window, a user might run a logs command piped through grep someRegularExpression. Typing such a command in a Kui session opens up the pod details sidecar to the Logs tab, but that results in an error that grep does not understand the --tail parameter. This is not surprising as the Logs tab is not designed to work with piped commands. The user task, however, is a desire to search/filter log output to find something specific. It would be useful for the Logs tab to support some type of search feature where the user could enter a search string and then have the Logs tab filter the output to show the matches (and then be able to clear the search).

Some UX design work would be needed to have this follow similar other search patterns, but the feature would be useful.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
starpitcommented, May 28, 2021

@berenss thoughts?

ezgif com-gif-maker

1reaction
berensscommented, May 28, 2021

Yes it’s the latter, effectively a log tail with a grep. So having a filter box where I can I put the grep value and then the log follow will show me a reduced set of entries based on what is in the filter box.

We have another ctl being included for which a download capability would be very ideal! Not sure if our web browser based implementation can handle that thou.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kubectl Logs | Kubectl Cheat Sheet | Sumo Logic
Logs in Kubernetes can give you insight into resources such as nodes, pods, containers, deployments and replica sets.
Read more >
Using Kubectl Logs | How to view Kubernetes Pod Logs?
Kubectl logs command can be used to get information about the containers and pods on your Kubernetes cluster. Debugging your Kubernetes ...
Read more >
Viewing your GKE logs | Operations Suite - Google Cloud
Select a cluster on the Clusters page, and then select the Logs tab. ... From the Google Cloud CLI: Query logs from clusters,...
Read more >
View live data with Container insights - Azure Monitor
This article describes the real-time view of Kubernetes logs, events, and pod metrics without using kubectl in Container insights.
Read more >
How to Monitor Kubernetes Audit Logs - Datadog
Learn how to use Kubernetes audit logs to debug issues and get clarity into your workloads.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found