{"type":"api","title":"Configure Syslog Server","meta":{"id":"/apps/pubhub/media/nfvis-api/e3678dda6abe6c2a26c7698d553a4574e3f45071/262737b2-b3c2-32cd-b07b-fdbdcd23918f","info":{"title":"NFVIS API","description":"NFVIS RESTCONF API Documentation","version":"4.14.1"},"x-parser-conf":{"overview":{"markdownPath":"reference/overview.md"}},"swagger":"2.0","basePath":"/{nfvis_ip}/restconf","schemes":["https"],"securityDefinitions":{"basicAuth":{"type":"basic"}}},"spec":{"tags":["Syslog Support"],"summary":"Configure Syslog Server","description":"Configure syslog server","operationId":"data_system_system_settings_logging_post","produces":["application/yang-data+json"],"parameters":[{"name":"logging","in":"body","description":"Logging configuration","required":true,"schema":{"type":"object","properties":{"system:host":{"type":"array","description":"IPv4/IPv6 address or domain name of the remote syslog server (list)","x-yang":{"type":"list"},"items":{"type":"object","properties":{"host":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"union"},"host_type":{"description":"The host/server type can be a ipv4 addres or a domain-name (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"ipv4","enum":["ipv4","domain-name"]},"transport":{"description":"Transport protocol to reach remote syslog server (default UDP) (non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"udp":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"[null]"}}},"port":{"description":"Port to reach remote syslog server (leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"uint16"}}}},"system:facility":{"description":"Syslog facility (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"local0","enum":["local0","local1","local2","local3","local4","local5","local6","local7"]},"system:severity":{"description":"Syslog severity (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"emergency","enum":["emergency","alert","critical","error","warning","notice","informational","debug"]}},"$$ref":"#/definitions/data_system_system_settings_logging-post"},"$$ref":"#/parameters/data_system_system_settings_logging-post"}],"responses":{"201":{"description":"container logging created"},"204":{"description":"No Content","$$ref":"#/responses/204"},"400":{"description":"Bad Request","$$ref":"#/responses/400"},"401":{"description":"Unauthorized","$$ref":"#/responses/401"},"404":{"description":"Not Found","$$ref":"#/responses/404"},"405":{"description":"Method Not Allowed","$$ref":"#/responses/405"},"409":{"description":"Conflict","$$ref":"#/responses/409"}},"security":[{"basicAuth":[]}],"__originalOperationId":"data_system_system_settings_logging_post","consumes":["application/yang-data+json"],"method":"post","path":"/data/system:system/settings/logging"}}