Skip to content

CloudWatch

CloudWatch is a monitoring service for AWS. It is used to collect and track metrics, collect and monitor log files, and set alarms.

Vaticy supports CloudWatch as a datasource - currently only collecting logs is supported. It can present the logs according to the user's chat request.

How to configure?

To configure CloudWatch as a datasource, you can click the + button on the Datasources page:

add-datasource

Then, select CloudWatch:

select-cloudwatch

Then, fill in the required fields and click on Add +:

configure-cloudwatch

Updating the configuration

It is also possible to update the CloudWatch configuration by clicking on the CloudWatch datasource card on the Datasources page, fill in the required fields and click on Update.

Questions that Vaticy can be asked about CloudWatch logs

Examples of questions that Vaticy can answer about CloudWatch logs:

  • Can you list the logs of the pod "pod-name" in log group "/aws/containerinsights/my-cluster/application"?
  • Can you list the logs of the pod "pod-name" in log group "/aws/containerinsights/my-cluster/application" between 13:15 and 14:15 on dec 12?
  • Can you list the logs of the pod "pod-name" in log group "/aws/containerinsights/my-cluster/application" from 2024-12-01 to 2024-12-02 with the level "ERROR"?
  • List the logs of the pod "pod-name" in log group "/aws/containerinsights/my-cluster/application" that contain the text "failed to connect to server"

Examples in the UI chat:

cloudwatch-logs

Note: CloudWatch requires to configure which log groups to collect logs from. When not specifying which log groups to use, Vaticy will ask you to select a log group from the list of available log groups:

specify-log-group