Is there way to transfer audit events to syslog server using different facility code to distinguish them from EMS events?
Applies to
- ONTAP 9
- Cloud Volumes ONTAP (CVO)
Answer
Yes, when configuring cluster log-forwarding for audit log transfer, users can specify one of the ONTAP undefined facility, local0(Code:16)through local7(Code:22).
Exmaple:
::> cluster log-forwarding create -destination 10.128.xx.yy -facility local0
Note:
- When configuring
cluster log-forwardingto transfer the audit log to a syslog server, the facilityuser(code:1)are used by default. - Because EMS event notifications use the same facility code, users are unable to distinguish between EMS logs and audit logs.
