Can performance CSV file be downloaded directly by specifying URL?
Applies to
ONTAP System Manager
Answer
No. The CSV file cannot be downloaded unless clicking the download icon on DASHBOARD in System Manager.
Additional Information
Output in JSON format instead of CSV file can be obtained using
GET /cluster/metrics
REST API in Retrieve historical performance metrics for the clusterExample:
curl -u admin -k "https://[CLUSTER-MGMT-IP]/api/cluster/metrics?oder_by=timestamp&fields=duration,iops,latency,status,throughput,timestamp&interval=1h"
Enter host password for user 'admin':
{
"records": [
{
"timestamp": "2024-03-21T12:05:45Z",
"status": "ok",
"duration": "PT15S",
"latency": {
"read": 0,
"write": 0,
"other": 0,
"total": 0
},
...