format (Security Log Stream)
Syntax
format (binary | protobuf | sd-syslog | syslog | welf)
Hierarchy Level
[edit security log stream stream-name] [edit logical-systems name security log stream stream-name] [edit tenants tenant-name security log stream stream-name]
Description
Set the format for remote security message logging to binary,
protobuf, syslog (system log),
sd-syslog (structured system log), or welf.
Note that for the WELF format, the category must be set to
content-security (see category).
Use Feature Explorer to confirm platform and release support for specific features.
Options
-
binary—Binary encoded text to conserve resources. -
protobuf—Protobuf structured log file. -
sd-syslog—Structured system log file. -
syslog—Traditional system log file. -
welf—Web Trends Extended Log Format.
Default: By default
syslog(system log) is enabled.
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 . Updated in Junos OS Release 12.1 .
The [edit logical-systems name security log stream stream-name] hierarchy level introduced in Junos OS Release 18.2R1.
The [edit tenants tenant-name security log stream stream-name] hierarchy level introduced in Junos OS Release 18.3R1.