-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[receiver/k8sevents] Allow excluding namespaces #23991
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Sounds like a valid request to me. In the meanwhile, it looks like the namespace is added as a log attribute. Since this is the case, you can use the filter processor to drop all logs from the namespaces that you want to exclude. Look at the alternative config options for logs to see how this could be done. I'll remove |
This is a good idea. Also likely impacted by #25161 |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Component(s)
receiver/k8sevents
Is your feature request related to a problem? Please describe.
In many scenarios I am not interested in events in. certain namespaces 8e.g. istio, kyma, kube-system). However, I would like to per default monitor all other namespaces, as there are users who can freely create namespaces on the cluster that should automatucally be monitored.
Describe the solution you'd like
In addition to allow namespaces = [xxx], it would be helpful to also have exclude_namespaces = [xxx], or even better a regex based approach.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: