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

[Bug]: Regex for LogAnalyzer to filter error messages is case-sensitive #793

Closed
3 of 4 tasks
akhil-rane opened this issue Dec 18, 2023 · 0 comments · Fixed by #794
Closed
3 of 4 tasks

[Bug]: Regex for LogAnalyzer to filter error messages is case-sensitive #793

akhil-rane opened this issue Dec 18, 2023 · 0 comments · Fixed by #794

Comments

@akhil-rane
Copy link
Contributor

Checklist

  • I've searched for similar issues and couldn't find anything matching
  • I've included steps to reproduce the behavior

Affected Components

  • K8sGPT (CLI)
  • K8sGPT Operator

K8sGPT Version

v0.3.23

Kubernetes Version

v1.25.0

Host OS and its Version

MacOS

Steps to reproduce

  1. Simulate log error messages where failure messages start with uppercase. Something like Failed/Error/Exception
  2. Run k8sgpt cli with Log filter

Expected behaviour

k8sgpt should be able to filter error messages in logs starting with uppercase and solution should be recommended

Actual behaviour

k8sgpt is not able to filter error messages in logs starting with uppercase. The sample error message is as follows

E1218 22:38:55.713036       1 static_autoscaler.go:280] Failed to refresh cloud provider config: AccessDenied

Additional Information

No response

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

Successfully merging a pull request may close this issue.

1 participant