AWS CloudWatch Logs
Supported version: Cloud
Pre-requisites:
- Python Script Integration Service deployed on the Gathr Analytics.
- Below libraries available on the Gathr Analytics: a. jsonpath_ng b. boto3
- All the required roles and permissions for the AWS CloudWatch Logs.
- 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 Name | Description |
---|---|---|
1 | Get Log Records | Get the Details of the Log Record in the AWS CloudWatch Logs. |
2 | Get Query Definition Details | Get the Details of the Query Definition in the AWS CloudWatch Logs. |
3 | Get Log Groups Details | Get the Details of the Log Groups in the AWS CloudWatch Logs. |
4 | Get Metric Transformations Details | Get the Details of the Metric Transformations in the AWS CloudWatch Logs. |
5 | Get Metric Filters Details | Get the Details of the Metric Filters in the AWS CloudWatch Logs. |
6 | Get Query Details | Get the Details of the Query in the AWS CloudWatch Logs. |
7 | Get Log Streams Details | Get the Details of the Log Streams corresponding to the Log Group in the AWS CloudWatch Logs. |
8 | Get Log Events Details | Get the Details of the Log Events corresponding to the Log Group and Log Stream in the AWS CloudWatch Logs. |
9 | Get Query Results | Get the Query Results corresponding to Query ID in the AWS CloudWatch Logs. |
10 | Get Tags Details | Get the Tags Details of the Log Group in the AWS CloudWatch Logs. |
11 | Get Subscription Filters Details | Get 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:
- 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.
- The user needs to right click on the floor and needs to go to the Scripts->Operations-> AWS CloudWatch Logs.
- It will expose all the scripts operations here and the user can run any operation of his/her choice.
If you have any feedback on Gathr documentation, please email us!