# Kubernetes filebeat not sending logs to secured Elasticsearch

**URL:** https://discuss.elastic.co/t/kubernetes-filebeat-not-sending-logs-to-secured-elasticsearch/319334
**Category:** Beats
**Tags:** docker, filebeat, metricbeat
**Created:** [November 18, 2022, 9:28pm UTC](https://discuss.elastic.co/t/kubernetes-filebeat-not-sending-logs-to-secured-elasticsearch/319334 "2022-11-18T21:28:01Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![Ehsan\_Orve](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ehsan_orve/32/107317_2.png) [@Ehsan\_Orve](https://discuss.elastic.co/u/Ehsan_Orve)
#### Post date: [November 25, 2022, 6:53pm UTC](https://discuss.elastic.co/t/kubernetes-filebeat-not-sending-logs-to-secured-elasticsearch/319334/9 "2022-11-25T18:53:46Z")

</div>

And also read this:

> [@Filebeat running on Kubernetes connected to Elasticsearch using SSL](https://discuss.elastic.co/t/filebeat-running-on-kubernetes-connected-to-elasticsearch-using-ssl/279946):
>
> I would like to use filebeat on Kubernetes and connect it to a secured Elasticsearch server, using certificates. I did a search to find how to do this but only found an un-answered related question. After some test I got it, so I will share my findings to help anybody else. These are the steps: Follow the original [documentation](https://www.elastic.co/guide/en/beats/filebeat/current/running-on-kubernetes.html) to download the yaml file. As shown on the documentation, update this file with the correct details about the Elasticsearch server: hostname, port, user and passw…

---

_[View the full topic](https://discuss.elastic.co/t/kubernetes-filebeat-not-sending-logs-to-secured-elasticsearch/319334)._
