Syslog
Description |
Enables configuring Syslog on the machine. Remote/Local syslog servers are supported |
|
Request URL |
GET: neo/app/settings/syslog |
|
Request Data |
N/A |
Response:
{
"web_info_log"
:{ "active"
: false
, "severity"
: "WARNING"
},
"event_log"
:{ "active"
: false
, "severity"
: "ERROR"
},
"destination"
: [{
"ip"
: "10.209.36.135"
,
"port"
: "514"
,
"protocol"
: "udp"
"severity"
: "INFO"
"mode"
: false
, }{}],,
"controller_log"
:{ "active"
: false
, "severity"
: "ERROR"
}
}
Description |
Enables configuring Syslog on the machine. Remote/Local syslog servers are supported |
|
Request URL |
PUT neo/app/settings/syslog |
Request Data:
{
"web_info_log"
:{ "active"
: false
, "severity"
: "WARNING"
},
"event_log"
:{ "active"
: false
, "severity"
: "ERROR"
},
"destination"
:[{
"ip"
: "10.209.36.135"
,
"port"
: "514"
,
"protocol"
: "tcp"
,
"severity"
: "INFO"
}],{}a,
"mode"
: true
,
"controller_log"
:{ "active"
: false
, "severity"
: "ERROR"
}
}
Note the following about the “destination” attribute:
Destination may be empty ([]). If it is empty, local syslog will be configured. If it is filled with IP and port info, remote syslog with the assigned remote IP and port number will be configured.
Destination attribute in now a list of destinations (instead of dictionary).
The maximum number of destinations is 5.
Each destination will have an optional 'protocol' attribute (udp or tcp).
If protocol is not supplied, udp will be the default.
Each syslog server can have its own severity. The severity indicates the minimal log severity that can be sent to this syslog.