Hi Team,
We are trying to onboard AWS cloudwatch metrics and events data to splunk , we decided to go with splunk Add on for AWS pull mechanism. I am trying to configure a custom namespace and metrics created in AWS to splunk , I am unable to see the metrics there . I edited the default aws namespaces and added my custom namespace . Is this right method to add my custom metrics. Can someone guide here.
Even though I configured in AWS correctly I am getting this error in Splunk
Metric event data without a metric name and properly formated numerical values are invalid and cannot be indexed. Ensure the input metric data is not malformed, have one or more keys of the form "metric_name:< metric > " (e.g..."metric_name:cpu.idle") with corresponding floating point values.
Hey there,
Adding custom AWS metrics to Splunk with the pull mechanism can be tricky! Editing the default namespaces isn't quite the way to go. Here's the key:
Remember to restart the Splunk Forwarder for the changes to take effect.
If you're still facing issues, double-check your namespace name and Splunk logs for errors. And feel free to ask if you need more help!
~ If the reply helps, a Karma upvote would be appreciated
Hey there,
Adding custom metrics from AWS CloudWatch to Splunk using the Splunk Add-on for AWS pull mechanism can be tricky, but I'm here to help!
Here's the key: While editing the default aws namespaces might seem intuitive, it's not the recommended approach for custom metrics.
Instead, follow these steps:
Example inputs.conf stanza:
[aws:cloudwatch://custom_metrics] # Replace with your actual namespace namespace = MyCompany/CustomMetrics # Optional: Filter specific metrics # metric_names = metric1, metric2 sourcetype = aws:cloudwatch index = main period = 60
Additional Tips:
Remember: This approach specifically caters to custom metrics. If you're dealing with custom events, the process might differ slightly. Feel free to share more details if you need further assistance!
~ If the reply helps, a Karma upvote would be appreciated
Hi Team,
We are configuring in it in our splunk web, my AWS namespace is
custom/namespace
metric 1 ,2 .... metric is created with no dimensions.
Configured in splunk
AWS account : xxx
AWS region: eu-west-1
index: B
Metrics Configuration : custom/namespace
Name: A
SourceType: aws:cloudwatch
I still don't see any logs, Am I configuring in right way
I had aws:cloudwatch:metrics to get the custom metrics.
Is there any way where I can get all the aws cloudwatch log group directly rather mentioning one by one , because when there is new log group created we have to reconfigure it and there chance of forgetting to add new log group