-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Heartbeat]: Cloud provider target autodiscovery #8282
Comments
I could have come up with a generic proposal to add cloud provider autodiscovery in libbeat (as we do with docker, k8s etc) and provide a list of first targets and exported fields of autodiscovered entities. However I feel that would increase scope unnecessarily for a first stab. My first candidate to use Cloud Provider autodiscovery would be Heartbeat anyway :) Happy if I see it developed properly in libbeat autodiscovery provider package of course! |
I definitively like the idea of a cloud autodiscovery provider. I think adding it to the generic providers instead of trying to get it into Heartbeat would be simpler. |
That's my feeling too, once #8023 is in, adding autodiscover to heartbeat should be fairly easy, which would be a win-win situation. Many beats could benefit from this provider |
As an update here, I've begun work on an AWS ELB autodiscovery provider in #8680 |
Pinging @elastic/uptime |
As an update, I'm going to revive #9122 soon |
This was (partially) merged in #12401 . I think we can safely consider this the start of this experiment. I'm going to close this issue for now. If it's successful we can consider adding EC2 and other integrations. |
Proposing to add target autodiscovery using Cloud Providers' APIs for Heartbeat monitors.
Example configuration
monitors.autodiscovery.provider
(exaws
,gcp
,azure
etc)monitors.autodiscovery.resource
(exec2
,elb
,gcs
,nlb
etc)monitors.autodiscovery.credentials
(fields vary per provider, ex. foraws
type it would be something likesecret_access_key
,access_key_id
etc, env vars taking precedence)monitors.autodiscovery.credentials.path
(where applicable, i.e. gcp json token blob)monitors.autodiscovery.filters
(accepting multiple filters, haven't given much thought to notation. Filters would all need to match or use a notation like the event post-processor (?))monitors.autodiscovery.interval
(how often the autodiscovery mechanism will get triggered, in seconds)monitors.hosts
accepting patterns based on autodiscovery resultsThe text was updated successfully, but these errors were encountered: