# How to configure parsing for Kubernetes?

**URL:** <https://discuss.elastic.co/t/how-to-configure-parsing-for-kubernetes/153884>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 24, 2018, 11:42pm UTC](https://discuss.elastic.co/t/how-to-configure-parsing-for-kubernetes/153884 "2018-10-24T23:42:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![spiffytech](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spiffytech/32/28062_2.png) [@spiffytech](https://discuss.elastic.co/u/spiffytech)\
**Post date:** [October 24, 2018, 11:42pm UTC](https://discuss.elastic.co/t/how-to-configure-parsing-for-kubernetes/153884/1 "2018-10-24T23:42:36Z")

</div>

I'm trying to activate multiline log parsing for Kubernetes, hopefully only on pods with a certain label. Where's the right place in the daemonset bundle yaml to set this?

---

<div class="post-metadata">

**Author:** ![exekias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/exekias/32/28718_2.png) [@exekias](https://discuss.elastic.co/u/exekias)\
**Post date:** [October 26, 2018, 7:03am UTC](https://discuss.elastic.co/t/how-to-configure-parsing-for-kubernetes/153884/2 "2018-10-26T07:03:03Z")

</div>

Hi @spiffytech,

You can use hints based autodiscover for this, follow this tutorial to do so: [https://www.elastic.co/blog/docker-and-kubernetes-hints-based-autodiscover-with-beats](https://www.elastic.co/blog/docker-and-kubernetes-hints-based-autodiscover-with-beats)

Also the docs: [https://www.elastic.co/guide/en/beats/metricbeat/current/configuration-autodiscover-hints.html](https://www.elastic.co/guide/en/beats/metricbeat/current/configuration-autodiscover-hints.html)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 23, 2018, 7:03am UTC](https://discuss.elastic.co/t/how-to-configure-parsing-for-kubernetes/153884/3 "2018-11-23T07:03:08Z")

</div>

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