# K8s filebeat

**URL:** <https://discuss.elastic.co/t/k8s-filebeat/137389>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 26, 2018, 8:27am UTC](https://discuss.elastic.co/t/k8s-filebeat/137389 "2018-06-26T08:27:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saravana\_Kumar](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@Saravana\_Kumar](https://discuss.elastic.co/u/Saravana_Kumar)\
**Post date:** [June 26, 2018, 8:27am UTC](https://discuss.elastic.co/t/k8s-filebeat/137389/1 "2018-06-26T08:27:24Z")

</div>

Have deployed filebeat on kubernetes as per below link : [https://www.elastic.co/guide/en/beats/filebeat/current/running-on-kubernetes.html](https://www.elastic.co/guide/en/beats/filebeat/current/running-on-kubernetes.html)

How to add grok patterns on the filebeat, we are using an external ELK..

since it is pushing logs directly to elastic search, how to apply log parsing /grok patterns.

---

<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:** [June 26, 2018, 8:47am UTC](https://discuss.elastic.co/t/k8s-filebeat/137389/2 "2018-06-26T08:47:41Z")

</div>

Hi @Saravana_Kumar,

We recently released hints based autodiscover, with it you can make use of Filebeat modules to automatically configure your ingest pipelines. If your logs are not covered by a module, you will need to manually define your pipelines in Elasticsearch:

> **[Docker and Kubernetes Hints-Based Autodiscover with Beats](https://www.elastic.co/blog/docker-and-kubernetes-hints-based-autodiscover-with-beats)**
>
> Beats 6.3 brings new features to do Kubernetes and Docker autodiscovery. You can now define logging & monitoring settings using labels or annotations.

We are working on some other options, like defining your own dissect pattern as a hint, but that won't be available until 6.4.

---

<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:** [July 24, 2018, 8:47am UTC](https://discuss.elastic.co/t/k8s-filebeat/137389/3 "2018-07-24T08:47:48Z")

</div>

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