API Guide
Table 42. Attributes (continued)
Attribute name Description
PortNumber Port number of syslog.
NOTE: By default, you can configure up to four destinations for syslog/SNMP and the responses are sent to each
destination. If there is no information in the response,
PortNumber
is displayed as 0.
api/AlertService/AlertDestinations/Actions/
AlertDestinations.ApplySyslogConfig
POST method for AlertDestinations.ApplySyslogConfig
This method configures the syslog.
Description Configures the syslog.
Privilege MONITORING_SETUP
HTTP response
codes
200
Example request
body
[
{
"Enabled": true,
"DestinationAddress": "100.97.10.17",
"PortNumber": 514
},
{
"Enabled": true,
"DestinationAddress": "100.97.10.17",
"PortNumber": 514
},
{
"Enabled": true,
"DestinationAddress": "10.19.12.1",
"PortNumber": 514
},
{
"Enabled": true,
"DestinationAddress": "100.97.1.23",
"PortNumber": 514
}
]
Example response
body
[
{
"Id": 1,
"Enabled": true,
"DestinationAddress": "100.97.10.17",
"PortNumber": 514
},
{
"Id": 2,
"Enabled": true,
"DestinationAddress": "100.97.10.17",
"PortNumber": 514
},
{
"Id": 3,
"Enabled": true,
"DestinationAddress": "10.19.12.1",
"PortNumber": 514
72 Application settings