Skip to main content
SnapCenter 5.0 cmdlets

Get-SmAuditSettings

Contributors

Retrieves Audit configurations and Syslog configurations

Syntax

Get-SmAuditSettings

Detailed Description

Retrieves below configurations:Audit log related configuration -Maximum File SizeMaximum files to retainAudit Log file locationAudit Log Checksum file locationDisk Space Limit in Percentage, to raise alter after limit is reachedOption to Enable Audit Integrity Check ScheduleSyslog server related configuration -Option to Enable Syslog Server and update Syslog configurationSyslog Server HostSyslog Server PortSyslog ProtocolSyslog Format

Parameters

Name Description Required? Pipeline Input Default Value

Examples

Example 1: Getting audit log and syslog server settings

 Get-SmAuditSettings

This example gets audit log and Syslog server settings.

MaxFileSize : 50
MaxSizeRollBackups : 10
UniversalTime : False
AuditLogDirectory : C:\Program Files\NetApp\SnapCenter WebApp\audit
AuditChecksumLogDirectory : C:\Program Files\NetApp\SnapCenter WebApp\auditChecksum
DiskSpaceLimitPercentage : 80
EnableAuditIntegrityCheckSchedule : False
EnableSyslogServer : True
SyslogServerHost : 10.229.39.107
SyslogServerPort : 1468
SyslogProtocol : TCP
SyslogFormat : Rfc5424

Example 2: Getting audit log settings and syslog server is disabled

 Get-SmAuditSettings

This example gets audit log settings and Syslog server is disabled.

MaxFileSize : 50
MaxSizeRollBackups : 10
UniversalTime : False
AuditLogDirectory : C:\Program Files\NetApp\SnapCenter WebApp\audit
AuditChecksumLogDirectory : C:\Program Files\NetApp\SnapCenter WebApp\auditChecksum
DiskSpaceLimitPercentage : 80
EnableAuditIntegrityCheckSchedule : False
EnableSyslogServer : False