Mihai-CMM
(Mihai)
September 7, 2023, 3:50pm
1
Per title i find it impssobile to configure metricbeat and ES on k8s env.
Can i please get a full working env for metricbeat?
https://raw.githubusercontent.com/elastic/beats/8.9/deploy/kubernetes/metricbeat-kubernetes.yaml
I dont see any option to say that ES with xpack enable expects TLS
stephenb
(Stephen Brown)
September 7, 2023, 5:50pm
2
Hi @Mihai-CMM
You have to get the CA from when you created Elasticsearch and then make the CA available to metricbeat via mounts
Perhaps take a look at this post. I think this is a pretty good example
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 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…