set node central-config disable
set logging-server <syslog-server-ip-address:port> proto udp level info
get logging-servers
/var/log/nvpapi/api_access.log
INFO admin 'PUT /api/v1/node/central-config --- New value: {"local_override": true}' 200 337 "" "" 0.415945
/var/log/proton/nsxapi.log
you see:INFO ActivityWorkerPool-1-0 EdgeNodeConfigUtils 4690 FABRIC [nsx@6876 comp="nsx-manager" level="INFO" subcomp="manager"] [entId=EdgeTransportNode//infra/sites/default/enforcement-points/default/edge-transport-node/########-5d1b-4578-be6a-############] External config vs EdgeNode, The following settings are different
SYSLOG : null
INFO ActivityWorkerPool-1-0 EdgeTransportNodeFabricUtils 4690 FABRIC [nsx@6876 comp="nsx-manager" level="INFO" subcomp="manager"] Edge ########-5d1b-4578-be6a-############. Apply config {"log_servers_config": {}}.
INFO ActivityWorkerPool-1-0 EdgeTNConfigServiceImpl 4690 FABRIC [nsx@6876 comp="nsx-manager" level="INFO" subcomp="manager"] Send/recieve config request log_servers_config {
}
INFO ActivityWorkerPool-1-0 EdgeTNMessagingServiceImpl 4690 FABRIC [nsx@6876 comp="nsx-manager" level="INFO" subcomp="manager"] Edge.sendRpcRequest: sent message (id:[########
-ea37-4b3e-b229-############
:1] in [301] msec):
log_servers_config {
}
VMware NSX-T Data Center
VMware NSX
This issue is resolved in VMware NSX 4.2.0
Workaround:
If the effective syslog config on edge matches the user desired state, use either of the below options:
POST https://{{mp}}/api/v1/transport-nodes/{{edge-id}}?action=refresh_node_configuration&resource_type=EdgeNode
If syslog config on Edge needs editing, not matching user desired state:
PUT https://{{mp}}/api/v1/transport-nodes/<edge-id>/node/central-config
{
"local_override": true
}
GET https://{{mp}}/api/v1/transport-nodes/{{edge-id}}
PUT https://{{mp}}/api/v1/transport-nodes/{{edge-id}}
Note: Please review the following YAML guide on formatting for syslog server configuration: Refer to YAML documentation