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

Events and Logs section selector #175

Open
RafalKlimczakSysAdmins opened this issue Dec 14, 2022 · 0 comments
Open

Events and Logs section selector #175

RafalKlimczakSysAdmins opened this issue Dec 14, 2022 · 0 comments

Comments

@RafalKlimczakSysAdmins
Copy link

Hi team,

I am enjoying your tool but Events and Logs section can be optional and enabled via boolean.
Looks great but take a lot of space on slack message, it's hard to read multiple notifications without real logs but with existing mandatory section from template

2.) For events output some simple grep phrase can be implement as optional parameter as bellow

 rafalklimczak@192 kwatch % cat example                            
 [2022-12-14 01:19:02 +0000 UTC] Scheduled Successfully assigned test/nginx-test-9fb6dc769-lvjmf to ip-10-1-6-
 [2022-12-14 01:20:29 +0000 UTC] Pulling Pulling image "nginx:testtest"
 [2022-12-14 01:20:29 +0000 UTC] Failed Failed to pull image "nginx:testtest": rpc error: code = Unknown desc = Error response  from daemon: manifest for nginx:testtest not found: manifest unknown: manifest unknown
 [2022-12-14 01:20:29 +0000 UTC] Failed Error: ErrImagePull
 [2022-12-14 01:24:16 +0000 UTC] BackOff Back-off pulling image "nginx:testtest"
 [2022-12-14 01:20:41 +0000 UTC] Failed Error: ImagePullBackOff
 rafalklimczak@192 kwatch % grep -i -A1 "failed error" example 
 [2022-12-14 01:20:29 +0000 UTC] Failed Error: ErrImagePull
 [2022-12-14 01:24:16 +0000 UTC] BackOff Back-off pulling image "nginx:testtest"
 [2022-12-14 01:20:41 +0000 UTC] Failed Error: ImagePullBackOff

Regards
RK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant