cterasdk.edge.syslog module#
- class cterasdk.edge.syslog.Syslog(edge)#
Bases:
BaseCommand
Edge Filer Syslog configuration APIs
- disable()#
Disable Syslog
- enable(server, port=514, proto='UDP', min_severity='info')#
Enable Syslog
- Parameters:
server (str) – Server address to send syslog logs
port (int,optional) – Syslog server communication port, defaults to 514
proto (cterasdk.edge.enum.IPProtocol,optional) – Syslog server communication protocol, defaults to cterasdk.edge.enum.IPProtocol.UDP
min_severity (cterasdk.edge.enum.Severity,optional) – Minimal log severity to fetch, defaults to cterasdk.edge.enum.Severity.INFO
- get_configuration()#
- modify(server=None, port=None, proto=None, min_severity=None)#
Modify current Syslog configuration. Only configurations that are not None will be changed. Syslog must be enabled
- Parameters:
server (str,optional) – Server address to send syslog logs
port (int,optional) – Syslog server communication port
proto (cterasdk.edge.enum.IPProtocol,optional) – Syslog server communication protocol
min_severity (cterasdk.edge.enum.Severity,optional) – Minimal log severity to fetch