跳至内容

Cloudwatch log analytics no more scheduled queries

0

Hi, In the new Log Analytics (previously Log Insights), I created a scheduled query but cannot find anymore the way to view/update the scheduling. Where can I find it? Regards,

已提问 4 个月前174 查看次数

2 回答
0

Hello.

I can't find Scheduled Queries in the Management Console on my AWS account either.
However, the API itself still exists, so I think it's best to configure it using the AWS CLI.
https://docs.aws.amazon.com/cli/latest/reference/logs/list-scheduled-queries.html

aws logs list-scheduled-queries --region ap-northeast-1
专家

已回答 4 个月前

专家

已审核 4 个月前

-1

In the CloudWatch Logs console, you can view and manage your scheduled queries by following these steps:

  1. Open the CloudWatch Logs console
  2. Choose Scheduled query, then View scheduled queries

This will take you to the Scheduled queries page where you can see all your scheduled queries in a centralized location. Each scheduled query will display its unique name, creation date, status of last run, last triggered time, and repeating frequency.

To update an existing scheduled query:

  1. From the Scheduled queries page, select the scheduled query you want to modify
  2. Choose Edit
  3. Make your desired changes to the configuration (such as the query string, schedule, destinations, or execution role)
  4. Choose Save changes

Alternatively, you can use the AWS CLI with the list-scheduled-queries command to view your scheduled queries, or the update-scheduled-query command to modify them programmatically.

The scheduled queries functionality remains available in CloudWatch Log Analytics - it's just accessed through the dedicated Scheduled query section in the console rather than being directly visible in the query editor interface.
Sources
Viewing and managing scheduled queries - Amazon CloudWatch Logs
Updating a scheduled query - Amazon CloudWatch Logs

已回答 4 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。