Getting Data In

AWS CWAgent are not getting to Splunk

kongusuresh
New Member

Hi
I have configured my input files as follows to get the cwagent custom metrics but metrics are not getting to Splunk server.
Please help I am struggling with it.

[aws_cloudwatch://test-CWagent_cca2f8c6-b830-41c1-8703-f2f22781a174]
aws_account = ************
aws_region = **************
metric_dimensions = [{"InstanceId":["."]}]
index = *
****_cwagent
metric_names = ".
"
metric_namespace = CWAgent
period = 600
polling_interval = 3600
sourcetype = aws:cloudwatch
use_metric_format = false
statistics = ["Average","Sum","SampleCount","Maximum","Minimum"]
metric_expiration = 3600
query_window_size = 24

0 Karma

samsplunks
Explorer

Same problem, no solution found.

If it can grab AWS namespaces, why can't it grab Custom namespaces?

0 Karma

kongusuresh
New Member

It is not possible because the cwagent is part of our golden amu and we are some automated scripts to build the alarm and aws dashboard

0 Karma

amiracle
Splunk Employee
Splunk Employee

Why not use collectd or the Splunk UF to pull the metrics and send them directly without using the CWAgent? This way if you move instances to another cloud provider, the configurations transfer easily without having to re-write props / transforms.

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...