All Apps and Add-ons

What is the correct stanza configuration to set up the input for amazon cloudwatch?

jmallorquin
Builder

Hi,

I'm using this stanza for setting up amazon cloudwatch.
I can't see errors in the configuration, but I'm not getting any data from amazon. Can anybody tell me if I'm using the correct configuration of metric_dimensions because i have tried many forms but none have helped me get data from amazon.
thanks,

[aws_cloudwatch://es00-ec2]
aws_account = aws-es00
aws_region = eu-west-1
host = aws-op
metric_dimensions = [{"Name": "InstanceId","Value": "i-264d4964"}]
metric_names = ["CPUUtilization"]
metric_namespace = AWS/EC2
period = 300
polling_interval = 300
sourcetype = aws:cloudwatch
statistics = ["Maximum"]
1 Solution

jmallorquin
Builder

Hi all,

Finally it works with this stanza...

[aws_cloudwatch://xxxxxxxxxxxxxxxxxx]
aws_account = xxxxxxxxxxxxxxx
aws_region = xxxxxxxxxx
host = xxxxxxxxxxxxxxxxxx
metric_dimensions = [{"LoadBalancerName":["xxxxxxxxxxxxxxxxxxxxxxxxxx"]},{"AvailabilityZone":["eu-we
st-1c"]},{"LoadBalancerName":["xxxxxxxxxxxxxxxxxxxxxxxx"]},{"AvailabilityZone":["eu-west-1a"]}]
metric_names = ["Latency","BackendConnectionErrors","SurgeQueueLength","RequestCount","HealthyHostCount","
UnHealthyHostCount","HTTPCode_Backend_4XX","HTTPCode_Backend_2XX","HTTPCode_Backend_3XX"]
metric_namespace = AWS/ELB
period = 300
polling_interval = 600
sourcetype = aws:cloudwatch
statistics = ["Average","Maximum","Minimum"]

View solution in original post

jmallorquin
Builder

Hi all,

Finally it works with this stanza...

[aws_cloudwatch://xxxxxxxxxxxxxxxxxx]
aws_account = xxxxxxxxxxxxxxx
aws_region = xxxxxxxxxx
host = xxxxxxxxxxxxxxxxxx
metric_dimensions = [{"LoadBalancerName":["xxxxxxxxxxxxxxxxxxxxxxxxxx"]},{"AvailabilityZone":["eu-we
st-1c"]},{"LoadBalancerName":["xxxxxxxxxxxxxxxxxxxxxxxx"]},{"AvailabilityZone":["eu-west-1a"]}]
metric_names = ["Latency","BackendConnectionErrors","SurgeQueueLength","RequestCount","HealthyHostCount","
UnHealthyHostCount","HTTPCode_Backend_4XX","HTTPCode_Backend_2XX","HTTPCode_Backend_3XX"]
metric_namespace = AWS/ELB
period = 300
polling_interval = 600
sourcetype = aws:cloudwatch
statistics = ["Average","Maximum","Minimum"]
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...