Course: <Which course are you asking about?> Elastic Certified Observaibility Trainning Course
Version: <And which particular version?> 7.9
Question: <Please add details here!>
I have a question about stack monitoring. I already configured all beats on elasticsearch node and they are working fine. However, I am struggling with Kibana node and APM node. I did all the steps many times, but get the below eror:
Your help regarding this is really appreciated.
Hi @Sara_YB ,
for Kibana have you enabled the kibana-xpack module in Metricbeat?
For APM, have you exposed the APM server port like described in step 12 of lab 8.3?
Best,
Andre
Hi,
I already added the 2 commands in apm-server.yml as indicated in the belwo screenshot:

Belwo is a screenshot of metricbeat.yml in apm-server of course:
When I try to enable beat-xpack, I get the below error:
Hi @Sara_YB ,
please try running metricbeat from its directory and it should work. You can try the following commands:
ssh apm-server
cd metricbeat/
./metricbeat modules enable beat-xpack
Best,
Andre
beat-xpack already enabled, but still getting error (Error fetching data for metricset beat.stats: error making http request: Get "http://localhost:5069/stats": dial tcp 127.0.0.1:5069: connect: connection refused) as indicated in the below screenshot:
Hi @Sara_YB ,
did you restart the APM server after you exposed port 5069?
Best,
Andre