Hi, I am using Splunk_TA_aws to pull two cloudwatch metrics for EC2 service - CPUUtilization and CPUCreditBalance. The first one is getting ingested but CPUCreditBalance is not coming through. I am able to get this metric from command line, so access issue can be ruled out. Metric is available on the EC2 machines at 5 min interval (confirmed on cloudwatch console). Here is my input stanza. Can you please advise what can b changed to get it working:
[aws_cloudwatch://Cloudwatch_EC2_CPUCreditBalance_d44a1ce1-ed7c-4d0c-b516-077446146b6b]
aws_account = xxx-splunk-collector-03-uat-collector_3
aws_iam_role = xxx_AWS_EC2_metrics_AssumeRole
aws_region = ap-southeast-2
index = au_test_aws_metrics
#Splunk_TA_aws
metric_dimensions = [{"InstanceId":[".*"]}]
metric_names = ["CPUCreditBalance"]
metric_namespace = AWS/EC2
period = 300
polling_interval = 600
sourcetype = aws:cloudwatch:metric
statistics = ["Average","Sum","SampleCount","Maximum","Minimum"]
use_metric_format = true
metric_expiration = 3600
query_window_size = 24
Update: able to get metrics via command line.
Has someone else faced the same issue?