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!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...