log (Security Logging)

Syntax

log {mode (event | stream);event-rate rate;format (syslog | sd-syslog); stream stream-name format (syslog | sd-syslog | welf) category (all | content-security) host ip-address;traceoptions {file filename {files number;match regular-expression;size maximum-file-size;(world-readable | no-world-readable);}flag (all | configuration | source);no-remote-trace;}

Hierarchy Level

[edit security log]

Release Information

Statement introduced in Release 9.2 of Junos OS

Description

You can 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.

Options

The remaining statements are explained separately.

Usage Guidelines

For configuration instructions and examples, see the Junos OS Security Configuration Guide.

Required Privilege Level

security—To view this statement in the configuration.

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