AWS CloudWatch Logs

Supported version: Cloud

Pre-requisites:

  1. Python Script Integration Service deployed on the Gathr Analytics.
  2. Below libraries available on the Gathr Analytics: a. jsonpath_ng b. boto3
  3. All the required roles and permissions for the AWS CloudWatch Logs.
  4. Client Id, Client Secret and AWS hosted region for the AWS CloudWatch Logs.

Note: Permission required for CloudWatch Logs is : CloudWatchLogsFullAccess IMPORTANT: Please make sure your AWS CloudWatch Logs instance must be accessible from the Gathr Analytics Machine.

Operation Details:

Below are the list of all the python scripts operation for the AWS CloudWatch Logs:

S No.Operation NameDescription
1Get Log RecordsGet the Details of the Log Record in the AWS CloudWatch Logs.
2Get Query Definition DetailsGet the Details of the Query Definition in the AWS CloudWatch Logs.
3Get Log Groups DetailsGet the Details of the Log Groups in the AWS CloudWatch Logs.
4Get Metric Transformations DetailsGet the Details of the Metric Transformations in the AWS CloudWatch Logs.
5Get Metric Filters DetailsGet the Details of the Metric Filters in the AWS CloudWatch Logs.
6Get Query DetailsGet the Details of the Query in the AWS CloudWatch Logs.
7Get Log Streams DetailsGet the Details of the Log Streams corresponding to the Log Group in the AWS CloudWatch Logs.
8Get Log Events DetailsGet the Details of the Log Events corresponding to the Log Group and Log Stream in the AWS CloudWatch Logs.
9Get Query ResultsGet the Query Results corresponding to Query ID in the AWS CloudWatch Logs.
10Get Tags DetailsGet the Tags Details of the Log Group in the AWS CloudWatch Logs.
11Get Subscription Filters DetailsGet the Details of the Subscription Filters corresponding to the Log Group Name in the AWS CloudWatch Logs.

Steps to use AWS CloudWatch Logs on the Gathr Analytics:

The user needs to follow the below steps:

  1. The user needs to upload the CloudWatch Logs App on the Gathr Analytics and in return it will auto-register all the python scripts on the Gathr Analytics.
  2. The user needs to right click on the floor and needs to go to the Scripts->Operations-> AWS CloudWatch Logs.
  3. It will expose all the scripts operations here and the user can run any operation of his/her choice.
Top