-
Notifications
You must be signed in to change notification settings - Fork 166
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
exclude namespace kube-system to send logs to ElasticSearch #91
Comments
@viquar22 yes - add a match like this:
assuming you are reading container log files written by |
Yes. |
@viquar22 not sure - this is a general fluentd problem, not a k8s meta plugin problem - you should ask how to debug this issue in a fluentd forum |
alright. Thanks for your quick response @richm |
@richm Hey your config works for me. The pods i see in Kibana do not match with the ones i see in the Terminal (kubectl -n kube-system get pods). i am able to describe and login to the pods i see in the terminal and they have updated td-agent configuration.. But Kibana pods doesn't exist... how come it's possible... I believe those Pods in Kibana are old pods that are still exist somewhere in the buffer(don't know where) and getting logs from them with latest timestamp. Please suggest. Thanks in advance.. |
@viquar22 I don't know - it could be many things - but I don't think this closed issue is the right place to discuss - try a kubernetes forum or a fluentd forum |
Is there a way to have fluentd to exclude namespace "kube-system" not to send logs to Elasticsearch so that we don't see logs from the namespace(kube-system) in Kibana.
I'm trying to add into td-agent.conf so that it will be updated and stop sending logs from the namespace (kube-system) to ES and we will only have logs from other namespaces but from kube-system in Kibana.
Thanks in advance.
The text was updated successfully, but these errors were encountered: