Picking only the value field out of Cloudwatch Dimensions, Java
Posted
by
GroovyUser
on Server Fault
See other posts from Server Fault
or by GroovyUser
Published on 2012-11-07T10:56:06Z
Indexed on
2012/11/07
11:06 UTC
Read the original article
Hit count: 253
I have some data that are retried from the cloudwatch api's. Specifically I have used listMetrics
. The data that I got from this call is :
{Metrics: [{Namespace: Metric from grails, MetricName: hello123, Dimensions: [{Name: name, Value: 1425, }], }, {Namespace: Metric from grails, MetricName: hello123, Dimensions: [{Name: name, Value: 1068, }], },
That was the correct data as I would expect. I need a way to return only the value
fields. Not others things. Is there any way to do this, in java?
Thanks in advance.
© Server Fault or respective owner