Skip to content

elastic-agent container output API key support #97

@michel-laterman

Description

@michel-laterman

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

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions