Ubuntu安裝APMServer

hiekay發表於2018-08-24

1、下載 APM Server

https://www.elastic.co/downloads/apm

tar -xzvf apm-server-6.3.2-darwin-x86_64.tar.gz
cd apm-server-6.3.2-darwin-x86_64/

2、修改監聽埠 預設9200 如果你是預設9200 則不用改

hosts: ["localhost:9201"]

2、匯入 dashboards

./apm-server setup

3、修改配置

如果您使用的是X-Pack安全版Elastic Stack,則必須在apm-server.yml配置檔案中指定憑據。如果沒有則不用

output.elasticsearch:
    hosts: ["<es_url>"]
    username: <username>
    password: <password>

4、執行 啟動

./apm-server -e


相關文章