NSX-T Data Center REST API
Read node log contents
For a single specified log file, returns the content of the log file.This method supports byte-range requests. To request just a portion of a
log file, supply an HTTP Range header, e.g. "Range: bytes=<start>-<end>".
<end> is optional, and, if omitted, the file contents from start to the
end of the file are returned.'
Request:
Method:
              GET
            URI Path(s):
              
              
                  
                  /api/v1/transport-nodes/<transport-node-id>/node/logs/<log-name>/data
                  
/api/v1/cluster/<cluster-node-id>/node/logs/<log-name>/data
/api/v1/node/logs/<log-name>/data
              
            /api/v1/cluster/<cluster-node-id>/node/logs/<log-name>/data
/api/v1/node/logs/<log-name>/data
Request Headers:
                  
            Query Parameters:
    n/a
  Request Body:
    n/a
  Example Request:
GET https://<nsx-mgr>/api/v1/node/logs/syslog/dataSuccessful Response:
Response Code:
                200 OK, 206 Partial Content
              Response Headers:
                  
                  FileRequestHeaders
Content-type: application/octet-stream
                Content-type: application/octet-stream
Response Body:
    n/a
  