clear security log transport
Syntax
clear security log transport <stream-name | all> <logical-system | root-logical-system | tenant>
Description
Clears the transport-level statistics for configured security log streams. This command resets the dynamic counters such as logs delivered, logs undelivered, bytes sent, and bytes undelivered to zero for a specified or all streams.
Options
| stream-name |
Clear transport counters and logs related to the configured log stream. |
| all |
Clear transport counters and logs for all configured log streams on the device. |
| logical-system |
Clear transport counters and logs filtered by the specified logical-system name. |
| root-logical-system |
Clear transport counters and logs specifically for the root-logical-system, which is the default unless otherwise specified. |
| tenant |
Clear transport counters and logs associated with all tenant-systems configured on the device. |
Required Privilege Level
Output Fields
Table 1 lists the
output fields for the show security log transport all command. Output
fields are listed in the approximate order in which they appear.
|
Field Name |
Field Description |
|---|---|
|
|
The name of the configured transport log stream. |
|
|
The IP address of the remote log server that receives logs. |
|
|
The protocol used for transport, such as TCP, UDP, and SSL. |
|
|
The port number on the remote log server for transport. |
|
|
The number of log messages successfully sent to the host. |
|
|
The total number of bytes delivered to the host. |
|
|
The number of log messages that didn't reach the host. |
|
|
The total number of bytes that were not delivered to the host. |
Sample Output
clear security log transport
user@host> clear security log transport all Host IP 4.0.0.3 Transport Proto TCP Host Port 514 Logs Delivered 0 Bytes Sent 0 Logs Undelivered 0 Bytes Undelivered 0 stream name stream5 Host IP 4.0.0.6 Transport Proto UDP Host Port 514 Logs Delivered 0 Bytes Sent 0 Logs Undelivered NA Bytes Undelivered NA stream name stream8 Host IP 5.0.0.1 Transport Proto SSL Host Port 6514 Logs Delivered 0 Bytes Sent 0 Logs Undelivered 0 Bytes Undelivered 0
Release Information
Command introduced in Junos OS Release 25.4R1