models.old_syslog_server module

class models.old_syslog_server.OldSyslogServer(address=None, is_cluster_auditing_enabled=None, is_data_protection_enabled=None, is_filer_auditing_enabled=None, is_ssh_log_enabled=None, name=None, port=None, protocol=None)[source]

Bases: object

Implementation of the ‘OldSyslogServer’ model.

Specifies the syslog servers configuration to upload Cluster audit logs and filer audit logs.

Attributes:
address (string): Specifies the IP address or hostname of the syslog

server.

is_cluster_auditing_enabled (bool): Specifies if Cluster audit logs

should be sent to this syslog server. If ‘true’, Cluster audit logs are sent to the syslog server. (default) If ‘false’, Cluster audit logs are not sent to the syslog server. Either cluster audit logs or filer audit logs should be enabled.

is_data_protection_enabled (bool): Specifies if dataprotection logs

should be sent to syslog server If ‘true’, dataprotection logs are sent to the server. If ‘false’, dataprotection logs are not sent to the server.(default)

is_filer_auditing_enabled (bool): Specifies if filer audit logs should

be sent to this syslog server. If ‘true’, filer audit logs are sent to the syslog server. (default) If ‘false’, filer audit logs are not sent to the syslog server. Either cluster audit logs or filer audit logs should be enabled.

is_ssh_log_enabled (bool): Specifies if ssh login logs should be sent

to syslog server If ‘true’, ssh login logs are sent to the server. If ‘false’, ssh login logs are not sent to the server.(default)

name (string): Specifies a unique name for the syslog server on the

Cluster.

port (int): Specifies the port where the syslog server listens. protocol (int): Specifies the protocol used to send the logs.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.