Describe the enhancement:
When running the elastic-agent in a container, in standalone mode, there is currently no way to specify an API key as a credential instead of username/password.
The elastic-agent.docker.yml file only shows username/password:
|
outputs: |
|
default: |
|
type: elasticsearch |
|
hosts: '${ELASTICSEARCH_HOSTS:http://elasticsearch:9200}' |
|
username: '${ELASTICSEARCH_USERNAME:elastic}' |
|
password: '${ELASTICSEARCH_PASSWORD:changeme}' |
|
preset: balanced |
Describe the enhancement:
When running the elastic-agent in a container, in standalone mode, there is currently no way to specify an API key as a credential instead of username/password.
The
elastic-agent.docker.ymlfile only shows username/password:elastic-agent/elastic-agent.docker.yml
Lines 4 to 10 in 5664fa4