-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI command to attach a package policy to the Agent #952
Comments
The system tests already do that by enrolling a new agent with policies defined in test configs under |
As discussed over slack, this feature makes sense, it could be something like |
After a first look at the workflow and code, the following two steps are required:
inputs:
- type: elasticsearch/metrics
vars:
hosts:
- "http://{{Hostname}}:5066"
streams:
- dataset: elasticsearch.stack_monitoring.index_recovery
vars:
active.only: true
|
Logging observations made while digging further:
|
Summary
The
elastic-package install
command currently installs a package assets. It would be useful to also have a command to attach an integration policy of the installed package to the elastic-agent started by the stack, after prompting for the inputs configuration. This will avoid UI configuration and enable automation of the package installation.It could be a flag provided to
install
or its own dedicated commandThe text was updated successfully, but these errors were encountered: