CmdID

CmdID / aws / aws logs

aws logs create-scheduled-query

Creates a scheduled query that runs CloudWatch Logs Insights queries at regular intervals. AWS CLI reference

15 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

15 in the AWS CLI reference
--descriptionAn optional description for the scheduled query to help identify its purpose and functionality.
--destination-configurationConfiguration for where to deliver query results.
--end-time-offsetThe time offset in seconds that defines the end of the lookback period for the query.
--execution-role-arnThe ARN of the IAM role that grants permissions to execute the query and deliver results to the specified destination.
--log-group-identifiersAn array of log group names or ARNs to query.
--nameThe name of the scheduled query.
--query-languageThe query language to use for the scheduled query.
--query-stringThe query string to execute.
--schedule-end-timeThe end time for the scheduled query in Unix epoch format.
--schedule-expressionA cron expression that defines when the scheduled query runs.
--schedule-start-timeThe start time for the scheduled query in Unix epoch format.
--start-time-offsetThe time offset in seconds that defines the lookback period for the query.
--stateThe initial state of the scheduled query.
--tagsKey-value pairs to associate with the scheduled query for resource management and cost allocation.
--timezoneThe timezone for evaluating the schedule expression.