Hi,
I have done an upgrade to Elasticsearch 8 and after this, I am finding a strange message in the apm server (8.0.0) logs
"precondition 'apm integration installed' failed: error querying Elasticsearch for integration index templates: unexpected HTTP status: 404 Not Found ({"error":{"root_cause":[{"type":"resource_not_found_exception","reason":"index template matching [logs-apm.error] not found"}],"type":"resource_not_found_exception","reason":"index template matching [logs-apm.error] not found"},"status":404}): to remediate, please install the apm integration: https://ela.st/apm-integration-quickstart","service.name":"apm-server","ecs.version":"1.6.0"}
"message":"failed to obtain connection to Kibana: fail to get the Kibana version: HTTP GET request to https://es:5601/api/status fails: Unauthorized: . Response: {"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}.","service.name":"apm-server","ecs.version":"1.6.0"
I am using docker APM config
image: docker.elastic.co/apm/apm-server:8.0.0
container_name: apmserver
cap_add: ["CHOWN", "DAC_OVERRIDE", "SETGID", "SETUID"]
cap_drop: ["ALL"]
ports:
- 8200:8200
command: >
apm-server -e
-E apm-server.rum.enabled=true
-E setup.kibana.host="https://es:5601"
-E setup.template.settings.index.number_of_replicas=1
-E apm-server.kibana.enabled=true
-E apm-server.kibana.host="https://es:5601"
-E output.Elasticsearch.hosts=["https://es:9200"]
-E output.Elasticsearch.username="userid"
-E output.Elasticsearch.password="password"
Can you suggest.
Thanks