elastic / beats

:tropical_fish: Beats - Lightweight shippers for Elasticsearch & Logstash
https://www.elastic.co/products/beats
Other
12.17k stars 4.92k forks source link

filebeat use autodiscover Can't collect logs #35477

Open liuwenzhi0318 opened 1 year ago

liuwenzhi0318 commented 1 year ago

filebeat version : 7.12

config as follows

image

Even if you add annotations in the pod, it will not be collected image

botelastic[bot] commented 1 year ago

This issue doesn't have a Team:<team> label.

liuwenzhi0318 commented 1 year ago

It is not very easy to understand, from the official point of view, only need to add in the pod annotation co.elastic.logs/enabled: "true"

liuwenzhi0318 commented 1 year ago

My intention is to turn off the default setting hints.default_config.enabled: false ,so need in the pod annotation co.elastic.logs/enabled: "true"

botelastic[bot] commented 5 months ago

Hi! We just realized that we haven't looked into this issue in a while. We're sorry!

We're labeling this issue as Stale to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1. Thank you for your contribution!