Reset the device logs and forward them to remote syslog servers
Data (REMOTE_LOGGING_SERVER object):
{
"id": 1,
"hostname": "syslog.example.com",
"port": 514,
"protocol": "udp",
"priority": "info",
"active": true,
"facility": "system"
}id - unsigned integer assigned by the device (read-only)hostname - hostname, IPv4 or IPv6 address of the syslog server (mandatory)port - 1 to 65535 (mandatory)protocol - udp or tcppriority - minimum priority of the messages to forward: emerg, alert, crit, error, warning, notice, info or debugactive - true if forwarding to this server is enabledfacility - which logs are forwarded: system, application or bothA missing or invalid field is rejected with 400 and a message of the form The validation has failed: The validation has failed on <field>. Constraint: <name> (<text>). Path: /.
/api/system/log/sysDELETEadminSuccesfully reset sys logs/api/system/log/appDELETEadminSuccesfully reset app logs/api/system/log/serversGETadminREMOTE_LOGGING_SERVER objects in data/api/system/log/servers/{ID}GETadminREMOTE_LOGGING_SERVER object in data{"message": "syslog_server with id <ID> not found!", "data": {"status_code": 404}}/api/system/log/serversPOSTadminREMOTE_LOGGING_SERVER object without id; all fields except id must be givendata/api/system/log/servers/{ID}PUTadminREMOTE_LOGGING_SERVER object; fields that are omitted keep their current valuedataDelete a remote logging server:
/api/system/log/servers/{ID}DELETEadmindata{"message": "Id <ID> not found!", "data": {"status_code": 404}}