Step 1: Download and unpack APM Server
Download and unpack APM Server
curl -L -O https://artifacts.elastic.co/downloads/apm-server/apm-server-7.8.0-amd64.deb
sudo dpkg -i apm-server-7.8.0-amd64.deb
Step 2: Edit the configuration (If xpack is enabled)
Open config file
nano /etc/apm-server/apm-server.yml
Change localhost:8200 with 0.0.0.0
apm-server:
host: "0.0.0.0:8200"
Replace host and add username and password of elasticsearch
output.elasticsearch:
hosts: ["0.0.0.0:9200"]
username: "elastic"
password: "Yourpassword"
Start and enable
systemctl start apm-server
systemctl enable apm-server
Comment (1)
Flapicon
July 17, 2020Someone might face this issue
https://github.com/elastic/apm-server/issues/2496