# Filebeats on kubernetes - How to change log level on yaml

**URL:** <https://discuss.elastic.co/t/filebeats-on-kubernetes-how-to-change-log-level-on-yaml/208979>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 21, 2019, 9:23pm UTC](https://discuss.elastic.co/t/filebeats-on-kubernetes-how-to-change-log-level-on-yaml/208979 "2019-11-21T21:23:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mauricio\_Borges](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mauricio_borges/32/54964_2.png) [@Mauricio\_Borges](https://discuss.elastic.co/u/Mauricio_Borges)\
**Post date:** [November 21, 2019, 9:23pm UTC](https://discuss.elastic.co/t/filebeats-on-kubernetes-how-to-change-log-level-on-yaml/208979/1 "2019-11-21T21:23:00Z")

</div>

Hello Folks!  
I have a OKD Server and would like set "logging.level: warning" into filebeat-kubernetes.yaml file, since default is "info". Then deploy it ( kubectl create -f filebeat-kubernetes.yaml ).  
Any idea what extra entries I could set into [yaml file](https://raw.githubusercontent.com/elastic/beats/master/deploy/kubernetes/filebeat-kubernetes.yaml) ?

[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)  
[https://www.elastic.co/guide/en/beats/filebeat/current/configuration-logging.html](https://www.elastic.co/guide/en/beats/filebeat/current/configuration-logging.html)

Appreciate any help!

---

<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:** [December 19, 2019, 9:23pm UTC](https://discuss.elastic.co/t/filebeats-on-kubernetes-how-to-change-log-level-on-yaml/208979/2 "2019-12-19T21:23:06Z")

</div>

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