Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

mode (Security Log)

Syntax

Hierarchy Level

Description

Set the mode of logging (event for traditional system logging or stream for streaming security logs through a revenue port to a server).

Options

  • event— Process security logs in the control plane.

  • stream— Process security logs directly in the forwarding plane.

  • stream-event— Process security logs in the control and forwarding plane.

Default:

  • event is a default mode on SRX100, SRX110, SRX210, SRX220, SRX240, SRX300, SRX320, SRX340, SRX345, SRX550, SRX550M, and SRX650, devices.

    Apart from Junos OS Release 18.4R1, 18,4R2, 19.1 and 19.2R1, in all the other releases starting in Junos OS Release 18.3R3, the default logging mode for SRX300, SRX320, SRX340, SRX345, SRX550, and SRX550M devices is stream mode.

  • stream is a default mode on SRX1400, SRX1500, SRX3400, SRX3600, SRX5400, SRX5600, SRX5800, SRX4100, and SRX4200 devices.

    Note:

    Starting with Junos OS Release 15.1X49-D140, the default mode for SRX1500 device is stream mode. Prior to Junos OS Release 15.1X49-D140, the default mode for SRX1500 device was event mode.

Required Privilege Level

security—To view this statement in the configuration.

security-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 10.0.

The [edit logical-systems name security log] hierarchy level introduced in Junos OS Release 18.2R1.

The [edit tenants tenant-name security log] hierarchy level introduced in Junos OS Release 18.3R1.

stream-event option is introduced in Junos OS Release 20.2R1 for SRX Series devices.