Skip to content

Add autoscaling decision to cluster logs #129384

Open
@kunisen

Description

@kunisen

Issue Description

Currently, when there's an autoscaling on Elastic Cloud Hosted,

Image

The autoscaling capacity API will be called to make the autoscaling decision.
https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-autoscaling-get-autoscaling-capacity

GET /_autoscaling/capacity

However, this log is not able to be seen from cluster logs, and we only see the logs like this:

[instance-00000000XX] adding autoscaling policy [hot_content]

Without having autoscaling capacity information to be recorded in cluster logs, it is hard to understand why the autoscaling was triggered.

Request

It would be great if we could log this info into cluster logs when the endpoint was called.
Then it would be very straightforward and clear to understand why autoscaling was triggered, and can greatly improve user self-service ability.


cc @maggieghamry @jakommo

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions