AWS CloudWatch Integration for Metrics
Title :- AWS CloudWatch Integration
Summary – InsightFinder can source the data from Amazon Web Services (AWS) Cloud Watch and correlate it with other data to generate anomalies and root causes. Below documentation is a walk through of how to configure AWS CloudWatch and InsightFinder integration.
Project Creation :-
- Go to “Settings”->“System Settings”. Click on “Add New Project”.
- Select “AWS CloudWatch” from the list and click on “Create Project” on the next page.
- This is where you will start configuring the project.
- Select “Instance Type” based on which AWS instance you want to monitor.
- Select “Region” based on where your AWS instance is located.
- Provide IAM Access Key ID, Secret Access Key. Permissions required: “ec2:DescribeInstances”,
“logs:DescribeLogGroups”,”cloudwatch:GetMetricData”,”logs:DescribeLogStreams”,
“servicediscovery:ListNamespaces”,”cloudwatch:GetMetricStatistics”,
“cloudwatch:ListMetrics”,”ec2:DescribeSecurityGroups”,”cloudwatch:ListMetricStreams”,
“autoscaling:DescribeAutoScalingGroups”,”rds:DescribeDBInstances”,”logs:GetLogEvents”,
“rds:DescribeDBProxies”,”cloudwatch:GetMetricStream”,”ec2:DescribeInstanceStatus” - Select Metric or Log based on what you want to source into InsightFinder.
Figure I
Figure II - Click on “Verify” and you will be taken to the next page if verification is successful.
- Select “Instance Type” from the dropdown that you want to configure for your analytics in the InsightFinder. Similarly select “Metrics” for those instances. If you want to configure “KPI Metrics” , then select those also. You can leave the rest as default or configure as needed.
Figure III
Figure IV
Figure V - Default sampling interval is 5 Min. Minimum could be 1 min. You can choose your sampling interval.
- Then on the next page, you can type in the “Project Name” and “System Name” and click on Register.
Figure VIAt this stage for a log project, you will have an option to provide Detection or Incident Keywords which will be used by the system for detecting specific types of log events or creating incidents from logs. Keywords in the image are just examples.
Figure IX - Once a project is successfully created, you will see a message like below.
Figure VII - You should start seeing data in the Metric Analysis page as below.
Figure VIII - Similarly, you can configure other AWS instances for metrics and logs into InsightFinder.
Project Configuration :-
Information needed –
- AWS Access Key ID and Secret Access Key for authentication.