System Administration > Configuration > Fabric > Nodes > Services > Syslog

List node syslog exporters

Returns the collection of registered syslog exporter rules, if any. The
rules specify the collector IP address and port, and the protocol to use.

Request:

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

Example Request:

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

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
NodeSyslogExporterPropertiesListResult+

Example Response:

{ "result_count": 2, "results": [ { "exporter_name": "syslog1", "level": "INFO", "port": 514, "protocol": "TCP", "server": "192.168.0.2" }, { "exporter_name": "syslog2", "level": "CRIT", "port": 514, "protocol": "TCP", "server": "192.168.0.1" } ] }

Required Permissions:

read

Feature:

system_log

Additional Errors: