All Apps and Add-ons

Splunk_TA_AWS not pulling CPUCreditBalance metrics

ManishaAgrawal2
New Member

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

Labels (1)
Tags (1)
0 Karma

ManishaAgrawal2
New Member

Update: able to get metrics via command line. 

Has someone else faced the same issue?

 

0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...