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!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...