Stream audit logs to syslog
Configure audit log streaming to syslog servers to ensure centralized monitoring and compliance tracking for your system. Enable external logging of configuration changes and security events.
When this feature is enabled, audit log records appear in the syslog in the following format:
Date
Time
Host: [Tag] Sender: User_Name@User_IP, Subsystem, Action
Where the local date, time, and originating hostname precede the bracketed optional tag, and the sending device name precedes the audit log message.
For example, if you specify a tag of FMC-AUDIT-LOG for audit log messages from your management center, a sample audit log message from your Cloud-Delivered
Firewall Management Center could appear as follows:
Mar 01 14:45:24 localhost: [FMC-AUDIT-LOG] Dev-MC7000: admin@10.1.1.2, Operations > Monitoring, Page View
If you specify a severity and facility, these values do not appear in syslog messages; instead, they tell the system that receives the syslog messages how to categorize them.
This task is relevant when you need to send audit logs from your management center to an external syslog server for compliance or operational monitoring. Use this procedure when integrating with centralized log management solutions.
Before you begin
Make sure the Cloud-Delivered Firewall Management Center can communicate with the syslog server. When you save your configuration, the system uses ICMP/ARP and TCP SYN packets to verify syslog server connectivity. By default, the system uses port 514/UDP to stream audit logs. To secure the channel, manually configure port 1470 for TCP.
Follow these steps to stream audit logs to a syslog server:
Procedure
Step 1 | Choose . | ||||||||||||||
Step 2 | Click Audit Log. | ||||||||||||||
Step 3 | Choose Enabled from the Send Audit Log to Syslog drop-down menu. | ||||||||||||||
Step 4 | The following fields are applicable only for audit logs sent to syslog:
| ||||||||||||||
Step 5 | (Optional) To test whether the IP address of the syslog servers is valid, click Test Syslog Server. The system sends the following packets to verify whether the syslog server is reachable:
The system displays the result for each server. | ||||||||||||||
Step 6 | Click Save. |
After you complete this task, audit logs are sent from the management center to the specified syslog server, allowing you to monitor and review system activity externally.
What to do next
Verify that the syslog server is receiving audit log messages as expected. Check for log entries corresponding to configuration changes or security events.