Configuring the Persistent Logging Utilization Alert Threshold in Percentage
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{ "syslogSyslog": { "children": [ { "syslogFile": { "attributes": { "adminState": "enabled", "name": "messages", "persistentThreshold": "99", "severity": "notifications", "size": "4194304" }}}]}}
Response
{ imdata:[] }
Copy
<System> <syslog-items> <file-items> <adminState>enabled</adminState> <name>messages</name> <persistentThreshold>99</persistentThreshold> <severity>notifications</severity> <size>4194304</size> </file-items> </syslog-items> </System>