# Filebeat on kubernetes

**URL:** <https://discuss.elastic.co/t/filebeat-on-kubernetes/224525>\
**Category:** Beats\
**Tags:** docker, filebeat\
**Created:** [March 21, 2020, 3:29pm UTC](https://discuss.elastic.co/t/filebeat-on-kubernetes/224525 "2020-03-21T15:29:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ash2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ash2/32/45433_2.png) [@ash2](https://discuss.elastic.co/u/ash2)\
**Post date:** [March 21, 2020, 3:29pm UTC](https://discuss.elastic.co/t/filebeat-on-kubernetes/224525/1 "2020-03-21T15:29:25Z")

</div>

HI,

I am looking for proper steps which are needed to be done for running filebeat on Kubernetes. Please anyone can guide me through all the steps for the deployment of filebeat as container and configuring Kubernetes. I want to fetch the cluster level logs using filebeat and store the logs to Elastic server.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [March 23, 2020, 5:25pm UTC](https://discuss.elastic.co/t/filebeat-on-kubernetes/224525/2 "2020-03-23T17:25:31Z")

</div>

Hi @ash2, here is the documentation on running Filebeat on Kubernetes: [https://www.elastic.co/guide/en/beats/filebeat/master/running-on-kubernetes.html](https://www.elastic.co/guide/en/beats/filebeat/master/running-on-kubernetes.html). Once you've set it up as described, if you have any specific problems please post them here.

Cheers,

Shaunak

---

<div class="post-metadata">

**Author:** ![ash2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ash2/32/45433_2.png) [@ash2](https://discuss.elastic.co/u/ash2)\
**Post date:** [March 24, 2020, 3:58am UTC](https://discuss.elastic.co/t/filebeat-on-kubernetes/224525/3 "2020-03-24T03:58:57Z")

</div>

Thanks for reply, I ran filebeat on kubernetes and now i want to restart filebeat with some changes in filebeat.yml file. What are the proper steps to do it?

Thanks

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [March 24, 2020, 5:17pm UTC](https://discuss.elastic.co/t/filebeat-on-kubernetes/224525/4 "2020-03-24T17:17:09Z")

</div>

> [@ash2](#):
>
> Thanks for reply, I ran filebeat on kubernetes and now i want to restart filebeat with some changes in filebeat.yml file. What are the proper steps to do it?

I'm not super familiar with Kubernetes but Filebeat is just another container running in Kubernetes. So I imagine the steps to restart it are similar to how you might restart other containers in Kubernetes?

---

<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:** [April 21, 2020, 5:17pm UTC](https://discuss.elastic.co/t/filebeat-on-kubernetes/224525/5 "2020-04-21T17:17:10Z")

</div>

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