UnsavedScheduledSearch is a datatype for an unsaved scheduled search. It's used by the generateScheduledSearchFromTemplate() and generateScheduledSearchFromPackageTemplate() query fields.

Table: UnsavedScheduledSearch

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
actionsActionyes Long-Term List of Ids for actions to fire on query result.
backfillLimitV2Int  Long-Term User-defined limit, which caps the number of missed searches to backfill, e.g. in the event of a shutdown. Only present when 'queryTimestampType' is EventTimestamp.
descriptionString  Long-Term Description of the scheduled search.
enabledBooleanyes Long-Term Flag indicating whether the scheduled search is enabled.
labelsStringyes Long-Term Labels attached to the scheduled search.
maxWaitTimeSecondsLong  Long-Term Maximum number of seconds to wait for ingest delay. Only present when 'queryTimestampType' is IngestTimestamp.
nameStringyes Long-Term Name of the scheduled search.
queryStringStringyes Long-Term LogScale query to execute.
queryTimestampTypeQueryTimestampTypeyes Long-Term Timestamp type to use for the query.
scheduleStringyes Long-Term Interval or cron pattern describing the schedule to execute the query on. Intervals look like '@every 5d'.
scheduleEndLong  Long-Termadded in 1.268Unix timestamp in milliseconds for the latest time the scheduled search should execute.
scheduleStartLong  Long-Termadded in 1.268Unix timestamp in milliseconds for when the scheduled search should at earliest execute.
searchIntervalOffsetSecondsLong  Long-Term Offset of the search interval in seconds. Only present when 'queryTimestampType' is EventTimestamp.
searchIntervalSecondsLongyes Long-Term Search interval in seconds.
timeZoneStringyes Long-Term Time zone of the schedule. Currently this field only supports UTC offsets like 'UTC', 'UTC-01' or 'UTC+12:45'.
triggerOnEmptyResultBooleanyes Long-Term Flag indicating whether the scheduled search should trigger when it finds en empty result (no events).