Header image

Monitoring Services with Elasticsearch APM

July 16, 2020Devops , ELK

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

Related post

Installation of Elasticsearch, Logstash, and Kibana (ELK Stack) With Xpack Security on Ubuntu 20.04

July 15, 2020Devops , ELK

Step 1: Installation of Java Step 2: Other dependencies Step 3: Add the Elastic repository Step 4: Update and install Elasticsearch Step 5: Making elasticsearch public add this in config file Don’t worry we will protect it later Step 6: Start and enable elasticsearch on reboot Step 7: Install kibana, start & enable Step 8: …

Read more

Comment (1)

Flapicon
July 17, 2020

Leave A Comment

Your email is safe with us.