stream (Security Log)
Syntax
stream stream-name {
category (all | content-security | fw-auth | screen | alg | nat | flow | sctp | gtp | ipsec | idp | rtlog |pst-ds-lite | appqos |secintel |aamw);
file {
allow-duplicates;
name file-name;
size maximum-file-size;
rotation maximum-file-rotation-number;
filter {
threat-attack;
}
format (binary | sd-syslog | syslog | welf);
host {
ip-address;
port port-number;
routing-instance instance-name;
}
radius {
ipaddr {
backup backup;
primary primary;
}
port port number;
secret secret;
}
rate-limit {
log-rate;
}
severity (alert | critical | debug | emergency | error | info | notice | warning);
source-address {
ip-address;
}
time-format (year | millisecond);
transport {
protocol (tcp | tls | udp);
tcp-connections tcp-connections;
tls-profile tls-profile;
}
}
Hierarchy Level
[edit security log] [edit logical-systems name security log] [edit tenants tenant-name security log]
Description
Define the security log steam settings.
Define security log stream options for a logical and tenant system. When the logging
mode is set to stream, security logs generated in the data plane
are streamed out a revenue traffic port directly to a remote server. All the
categories can be configured for sending specific category logs to different log
servers for stream mode log forwarding.
Options
stream |
Every stream can configure file or host.
|
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.
Release Information
Statement modified in Junos OS Release 9.2.
The [edit logical-systems name security log] and [edit tenants tenant-name security log] hierarchy levels introduced in Junos OS Release 19.1R1.
time-format, source-address, and transport options are introduced in Junos OS Release 20.2R1.
radius option is introduced in Junos OS Release 24.2R1.