Tracking Autoscaling Events

You can use the Events service to monitor autoscaling actions.

For example, an event is emitted when a scaling action occurs. For details about autoscaling event types and an example event, see Autoscaling Event Types.

For steps to create event notifications, see Getting Started with Events.

As an example, to create an event notification for a scaling action, when you create the event rule, do the following:

  1. For Condition, select Event Type.
  2. For Service Name, select Compute.
  3. For Event Type, select Autoscaling Configuration - Scaling Action.

To filter notifications to scaling action errors:

  1. Click + Another Condition to create an additional condition.
  2. For Condition, select Attribute.
  3. For Attribute Name, select actionType.
  4. For Attribute Values, enter ERROR.

The possible attribute values for actionType are:

  • SCALE_OUT
  • SCALE_IN
  • NO_ACTION
  • ERROR
  • LIMIT_EXCEEDED
  • POWER_ACTION

You can also use the audit logs to track autoscaling actions. If errors occur during autoscaling events, you can find error details in the these logs, and you can use the audit logs to explore the details of autoscaling events.