You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
abc123
The Elastic Agent is currently in BETA and should not be used in production
Error: fail to enroll: fail to execute request to Kibana: 1 error occurred:
* missing enrollment api key
I'm pretty sure this is due to the breaking changes in #23865. Formatting the token and host as flags works:
--enrollment-token=abc123
The Elastic Agent is currently in BETA and should not be used in production
Error: fail to enroll: fail to execute request to Kibana: Status code: 401, Kibana returned an error: Unauthorized, message: security_exception
The text was updated successfully, but these errors were encountered:
Version: the latest 7.12-SNAPSHOT image (and I think 7.13-SNAPSHOT and 8.0.0-SNAPSHOT)
Reproducer:
docker run --rm --env FLEET_ENROLL=1 --env FLEET_ENROLL_INSECURE=1 --env KIBANA_HOST=http://kibana:5601 --env FLEET_ENROLLMENT_TOKEN=abc123 -t docker.elastic.co/beats/elastic-agent:7.12.0-SNAPSHOT
I'm pretty sure this is due to the breaking changes in #23865. Formatting the token and host as flags works:
docker run --rm --env FLEET_ENROLL=1 --env FLEET_ENROLL_INSECURE=1 --env KIBANA_HOST="--kibana-url=http://kibana:5601" --env FLEET_ENROLLMENT_TOKEN="--enrollment-token=abc123" -t docker.elastic.co/beats/elastic-agent:7.12.0-SNAPSHOT
The text was updated successfully, but these errors were encountered: