Statement introduced in Junos OS Release 9.2.
The [edit logical-systems name security] and [edit tenants tenant-name security] hierarchy levels introduced in Junos OS Release 19.1R1.
escape option added in Junos OS Release 20.2R1.
Configure security log. Set the mode of logging (event for traditional system logging or stream for streaming security logs through a revenue port to a server). You can also specify all the other parameters for security logging.
Range: 0 through 1500
max-file-number—Maximum number of binary log files.
The range is 2 through 10 and the default value is 10.
file-name—Name of binary log file.
binary-log-file-path—Path to binary log files.
maximum-file-size—Maximum size of binary log file in megabytes.
The range is 1 through 10 and the default value is 10.
SRX1500, SRX4100, and SRX4200: 0 through 15,000,000
vSRX: 0 through 1,000,000
SRX1500, SRX4100, and SRX4200: 15,000,000
Be sure there is enough free space in /var/log/hostlogs/, otherwise logs might be dropped when written into the database.
Range: 0 through 5000 logs per second
Default: 5000 logs per second
The source-address and source-interface are alternate values. Using one of the options is mandatory.
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
security—To view this statement in the configuration.
security-control—To add this statement to the configuration.