Kubernetes metadata labels are not sent

Hello everyone!

Could you help me guys?
My Filebeat doesn’t attach Kubernetes metadata. I don’t know why, it looks very strange because log contain normal Kubernetes activity without any errors.

My setup:
Kubernetes 1.11.2 (containerd v1.1.2)
Filebeat 6.4.0

Here is my Filebeat config: https://paste.ofcode.org/BBKrhyAjFcsT3S29EbUByS
Here is Filebeat log: https://paste.ofcode.org/uBkntBA39yKzPv8nLbLdZT

Hi @maligos,

Configuration looks right at a first glance, can you please post the full log? I'm interested in the part where Kubernetes starts watching for Pod events to construct the metadata table.

Best regards

Hi @exekias
Thank you for the participation!
Here is full "kubernetes" log: https://paste.ofcode.org/R2C36rbbnrGZubs3iFTst3

OMG! I've just fixed it! I removed "host" section from "add_kubernetes_metadata" and now it is working fine!
New day - clear mind! :smiley:

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.