跳至內容

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,

已提問 2 個月前檢視次數 87 次

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
專家

已回答 2 個月前

專家

已審閱 2 個月前

-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

已回答 2 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。