The CreateAlert input includes various settings.

Table: CreateAlert

ParameterTypeRequired[a]DefaultDescription
viewNamestringyes Name of the view of the alert.
namestringyes Name of the alert.
descriptionstringyes Description of the alert.
queryStringstringyes LogScale query to execute.
queryStartstringyes Start of the relative time interval for the query.
throttleTimeMillisstringyes Throttle time in milliseconds.
throttleFieldstringyes Field on which to throttle.
enabledbooleanyes Flag indicating whether the alert is enabled.
actions[string]yes List of unique identifiers of actions to execute on query result.
labelsbooleanyes Labels attached to the alert.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.