Diagnosis export
Diagnosis API allows you to download a diagnosis (Zip file) of the cluster.
Download the diagnosis of a specific time period
Download a diagnosis on the specified period. Parameters start and end are in yyyy-mm-dd format.
GET /api/monitor/download/xray/:start/:end
Example:
        CODE
    
    curl http://myindeximacluster:8082/api/monitor/download/xray/2022-10-01/2022-10-31 \
  -H "Authorization: $ACCESS_TOKEN" \
  -H "Monitor-Target-Host: indexima-core-1" \
  -H "Monitor-Target-Port: 9999" \
  --output diagnosis.zip