# Logging only kubelet logs

**URL:** <https://discuss.elastic.co/t/logging-only-kubelet-logs/226694>\
**Category:** Beats\
**Tags:** docker, filebeat\
**Created:** [April 6, 2020, 11:35am UTC](https://discuss.elastic.co/t/logging-only-kubelet-logs/226694 "2020-04-06T11:35:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Mario\_Albo\_Soria](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_albo_soria/32/46467_2.png) [@Mario\_Albo\_Soria](https://discuss.elastic.co/u/Mario_Albo_Soria)\
**Post date:** [April 7, 2020, 6:42am UTC](https://discuss.elastic.co/t/logging-only-kubelet-logs/226694/3 "2020-04-07T06:42:19Z")

</div>

It works!!  
I was misunderstanding how the `filebeat.inputs` works, I thought I needed to add metadata to logs before filtering with the `filebeat.autodiscover` (I read something similar there [[Problem getting autodiscover docker to work with filebeat](https://discuss.elastic.co/t/problem-getting-autodiscover-docker-to-work-with-filebeat/144349/10)])

Thank you so much!

---

_[View the full topic](https://discuss.elastic.co/t/logging-only-kubelet-logs/226694)._
