# Filebeat with custom module at kubernetes

**URL:** <https://discuss.elastic.co/t/filebeat-with-custom-module-at-kubernetes/143975>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [August 11, 2018, 12:43pm UTC](https://discuss.elastic.co/t/filebeat-with-custom-module-at-kubernetes/143975 "2018-08-11T12:43:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mvasilenko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mvasilenko/32/32886_2.png) [@mvasilenko](https://discuss.elastic.co/u/mvasilenko)\
**Post date:** [August 11, 2018, 12:43pm UTC](https://discuss.elastic.co/t/filebeat-with-custom-module-at-kubernetes/143975/1 "2018-08-11T12:43:53Z")

</div>

Hi  
I'm running filebeat with custom module on Linux nodes,  
and want to run it at self-hosted kubernetes cluster,  
is it possible?

Thank you

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [August 13, 2018, 4:16pm UTC](https://discuss.elastic.co/t/filebeat-with-custom-module-at-kubernetes/143975/2 "2018-08-13T16:16:07Z")

</div>

It is possible if the custom module is in the same folder as the ones shipped with Filebeat (`/usr/share/filebeat/module` and a config under `/etc/filebeat/modules.d`), have the same directory structure and generated a `fields.yml` and fields assets to be loaded.

---

<div class="post-metadata">

**Author:** ![mvasilenko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mvasilenko/32/32886_2.png) [@mvasilenko](https://discuss.elastic.co/u/mvasilenko)\
**Post date:** [August 14, 2018, 8:54am UTC](https://discuss.elastic.co/t/filebeat-with-custom-module-at-kubernetes/143975/3 "2018-08-14T08:54:39Z")

</div>

Hi, Noémi, thank you for the answer

maybe i should build custom filebeat docker image,  
based on standard, just add my module files in Dockerfile?

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [August 14, 2018, 8:56am UTC](https://discuss.elastic.co/t/filebeat-with-custom-module-at-kubernetes/143975/4 "2018-08-14T08:56:27Z")

</div>

What's the version of your Filebeat?

---

<div class="post-metadata">

**Author:** ![mvasilenko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mvasilenko/32/32886_2.png) [@mvasilenko](https://discuss.elastic.co/u/mvasilenko)\
**Post date:** [August 14, 2018, 9:52am UTC](https://discuss.elastic.co/t/filebeat-with-custom-module-at-kubernetes/143975/5 "2018-08-14T09:52:41Z")

</div>

6.3.0

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [August 14, 2018, 10:36am UTC](https://discuss.elastic.co/t/filebeat-with-custom-module-at-kubernetes/143975/6 "2018-08-14T10:36:59Z")

</div>

What do you mean by "standard"? The images provided by Elastic?

You could build your own image and use you own module as long as the files I mentioned above are under the correct folder. Please, ignore the part about field assets. Those are not part of 6.3 release.

---

<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:** [September 11, 2018, 10:37am UTC](https://discuss.elastic.co/t/filebeat-with-custom-module-at-kubernetes/143975/7 "2018-09-11T10:37:02Z")

</div>

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