Giter Club home page Giter Club logo

Comments (6)

richm avatar richm commented on May 28, 2024 20

@viquar22 yes - add a match like this:

<match kubernetes.var.log.containers.**_kube-system_**>
  @type null
</match>

assuming you are reading container log files written by docker --log-driver=json-file

from fluent-plugin-kubernetes_metadata_filter.

viquar22 avatar viquar22 commented on May 28, 2024

Yes.
i use gitlab for deployment.
I updated my td-agent with the above config and deployed but still see the logs from "kube-system" in Kibana.

from fluent-plugin-kubernetes_metadata_filter.

richm avatar richm commented on May 28, 2024

@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

from fluent-plugin-kubernetes_metadata_filter.

viquar22 avatar viquar22 commented on May 28, 2024

alright. Thanks for your quick response @richm

from fluent-plugin-kubernetes_metadata_filter.

viquar22 avatar viquar22 commented on May 28, 2024

@richm Hey your config works for me.
It has stopped sending logs from namespace (kube-system).
But i see logs in Kibana from same namespace (kube-system) but the pods are different.
When i try to describe (kubectl describe . . ) it doesn't exist.. i see those pod logs in the latest time stamp.

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..

from fluent-plugin-kubernetes_metadata_filter.

richm avatar richm commented on May 28, 2024

@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

from fluent-plugin-kubernetes_metadata_filter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.