System Administration > Configuration > Fabric > Nodes > Logs

Read node log properties

For a single specified log file, lists the filename, file size, and
last-modified time.

Request:

Method:
GET
URI Path(s):
/api/v1/transport-nodes/<transport-node-id>/node/logs/<log-name>
/api/v1/node/logs/<log-name>
/api/v1/cluster/<cluster-node-id>/node/logs/<log-name>
Request Headers:
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/node/logs/syslog

Successful Response:

Response Code:
200 OK, 206 Partial Content
Response Headers:
Content-type: application/json
Content-type: application/octet-stream
Response Body:
NodeLogProperties+

Example Response:

{ "last_modified_time": 1442258255032, "log_name": "syslog", "log_size": 224075 }

Required Permissions:

read

Feature:

system_log

Additional Errors: