UnsavedAggregateAlert is a datatype for an unsaved aggregate alert. It's used by the generateAggregateAlertFromTemplate() and generateAggregateAlertFromPackageTemplate() query fields.

Table: UnsavedAggregateAlert

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
actionsActionyes Long-Term List of actions to fire on query result.
descriptionString  Long-Term Description of the aggregate alert.
enabledBooleanyes Long-Term Flag indicating whether the aggregate alert is enabled.
labelsStringyes Long-Term Labels attached to the aggregate alert.
nameStringyes Long-Term Name of the aggregate alert.
queryStringStringyes Long-Term LogScale query to execute.
queryTimestampTypeQueryTimestampTypeyes Long-Term Timestamp type to use for a query.
searchIntervalSecondsLongyes Long-Term Search interval in seconds.
throttleFieldString   deprecated in 1.282A field to throttle on. Can only be set if throttleTimeSeconds is set.
throttleFieldsStringyes Long-Term Fields to throttle on. Can only be set if throttleTimeSeconds is set.
throttleTimeSecondsLongyes Long-Term Throttle time in seconds.
triggerModeTriggerModeyes Long-Term Trigger mode used for triggering the alert.