Forum Discussion
Satoshi_Toyosa1
Aug 28, 2017Employee
The following curl example is equivalent to
modify sys syslog remote-servers add { sat { host 192.168.184.80 remote-port 514 }}
.
curl -sku admin: https:///mgmt/tm/sys/syslog \
-H "Content-type: application/json" -X PATCH \
-d'{"remoteServers":[ {"name":"sat","host":"192.168.184.80","remotePort":514} ]}'
To list the remote servers, run the following (equivalent to
tmsh list sys syslog remote-servers
😞
curl -sku admin: https:///mgmt/tm/sys/syslog?\$select=remoteServers