Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grep Logs #36

Closed
mrjamiebowman opened this issue Oct 11, 2021 · 1 comment
Closed

grep Logs #36

mrjamiebowman opened this issue Oct 11, 2021 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed Stale

Comments

@mrjamiebowman
Copy link

It would be incredibly beneficial to grep logs.

I'm currently having to get logs based on pod labels. Would be really nice if I could see all of the logs based on a grep command.

kubectl grep logs -n namespace service-a

@guessi
Copy link
Owner

guessi commented Oct 12, 2021

@mrjamiebowman Good to know you've tried kubectl-grep. 🎉

However, kubectl-grep was designed to filter out Kubernetes native resources, but not log output which generated by applications running on Kubernetes.

To filter out log lines with condition (namespace, keyword, ...), I'd suggest you to try the following awesome projects:

If you love those projects, don't forget to give them a star ⭐

@guessi guessi added question Further information is requested enhancement New feature or request help wanted Extra attention is needed and removed question Further information is requested labels Oct 12, 2021
@github-actions github-actions bot added the Stale label Sep 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed Stale
Projects
None yet
Development

No branches or pull requests

2 participants