CreateFilterAlert is an input datatype creating a filter alert. It's used by the createFilterAlert() mutation field.

Table: CreateFilterAlert

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
actionIdsOrNamesStringyes   List of ids or names for actions to fire on query result. At most 10 actions can be added. Actions in packages can be referred to as \"packagescope/packagename:actionname\".
descriptionString    Description of the filter alert.
enabledBoolean    Flag indicating whether the filter alert is enabled.
labelsStringyes   Labels attached to the filter alert.
nameStringyes   Name of the filter alert.
queryOwnershipTypeQueryOwnershipTypeyes   Ownership of the query run by this filter alert. If value is User, ownership will be based on the 'runAsUserId' field.
queryStringStringyes   LogScale query to execute.
runAsUserIdString    The filter alert will run with the permissions of the user corresponding to this id if 'queryOwnershipType' is set to User. If 'queryOwnershipType' is set to Organization, whilst 'runAsUserId' is set, this will result in an error. If not specified, the scheduled search will run with the permissions of the calling user. It requires the 'ChangeTriggersToRunAsOtherUsers' permission to set this field to a user id different from the calling user.
throttleFieldString   deprecated in 1.282A field to throttle on. Can only be set if throttleTimeSeconds is set.
throttleFieldsStringyes   Fields to throttle on. Can only be set if throttleTimeSeconds is set. At most 10 throttle fields can be added.
throttleTimeSecondsLong    Throttle time in seconds.
viewNameRepoOrViewNameyes   Name of the view of the filter alert.