Configuring Audit Log Options in the Evaluated Configuration
The following section describes how to configure audit log options in the evaluated configuration.
Configuring Audit Log Options for SRX345 and SRX380 Devices
To configure audit log options for SRX345 and SRX380 devices:
- Specify the number of files to be archived in the system
logging facility.[edit system syslog]root@host# set archive files 2
- Specify the file in which to log data.[edit system syslog]root@host# set file syslog any any
- Specify the size of files to be archived.[edit system syslog]root@host# set file syslog archive size 10000000
- Log system messages in a structured format.[edit system syslog]root@host# set file syslog structured-data
- Configure security log events in the audit log buffer.[edit]root@host# set security log cache
- Specify how to process and export security logs.[edit]root@host# set security log mode event