I install Fleet-managed APM-Server.
It seems active, but show error codes and doesn't work as a service.
error :
"message":"failed to clear scroll: context deadline exceeded","service.name":"apm-server","ecs.version":"1.6.0"
"message":"refresh cache error: context deadline exceeded","service.name":"apm-server","ecs.version":"1.6.0"}
"message":"precondition failed: error querying cluster_uuid: status_code=401","service.name":"apm-server","ecs.version":"1.6.0"}
These 3 error codes show every seconds.
I followed this website
but, it doesn't work. Please help me
I write about my elasticsearch server setting in below.
*apm_server.yml :
apm-server:
host: "0.0.0.0:8200"
output.elasticsearch:
hosts: ["0.0.0.0:9200"]
username: "elastic"
password: "mypassword"(changed for security)
*elasticsearch.yml :
network.host: 0.0.0.0
http.port: 9200
xpack.security.enabled: true
xpack.security.enrollment.enabled: true
xpack.security.http.ssl:
enabled: true
keystore.path: certs/http.p12
xpack.security.transport.ssl:
enabled: true
verification_mode: certificate
keystore.path: certs/transport.p12
truststore.path: certs/transport.p12
cluster.initial_master_nodes: ["SSVELA1V"]
http.host: 0.0.0.0
xpack.security.authc.api_key.enabled: true
*kibana.yml :
server.port: 5601
server.host: 0.0.0.0
server.ssl.enabled: true
server.ssl.certificate: /etc/kibana/cert/kib2.crt
server.ssl.key: /etc/kibana/cert/kib2.key
elasticsearch.username: "kibana_system"
elasticsearch.password: ""security change""
xpack.fleet.registryUrl: "http://docker_registry_server:8080"
xpack.encryptedSavedObjects.encryptionKey: "security change"
xpack.reporting.encryptionKey: "security change"
xpack.security.encryptionKey: "security change"