#REST API equivalent of ONTAP CLI 'qos statistics latency show -node <node name>'

1 messages · Page 1 of 1 (latest)

empty moth
#

As titled; is there an equivalent of the ONTAP CLI 'qos statistics latency show -node <node name>'? Looking for that easy to consume delay centre breakdown by node and only need the total. Thanks!

random bolt
empty moth
#

Thanks Varun, that works if I use a POST but looks like I'd need to parse the cli_output field and also make sure 'iteration' is 1 to avoid hitting the five session limit.
I wonder if there is a better way?

empty moth
#

@clever palm in the past you've suggested something along these lines when dealing with /private/cli...

curl -s -k -u user:pass 'https://cluster_ip/api/private/cli'
--header 'Content-Type: application/json'
--data '{ "input": "set -showseparator "!" -showallfields true -rows 0 diagnostic -confirmations off; statistics show -object workload_detail_volume -raw -counter resource_name|service_time|instance_name|wait_time" }'

#

Is there a modified version of the above to suite my needs?