Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

clear security log transport

Syntax

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

clear

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.

Table 1: clear security log transport all Output Fields

Field Name

Field Description

Stream name

The name of the configured transport log stream.

Host IP

The IP address of the remote log server that receives logs.

Transport Proto

The protocol used for transport, such as TCP, UDP, and SSL.

Host Port

The port number on the remote log server for transport.

Logs Delivered

The number of log messages successfully sent to the host.

Bytes Sent

The total number of bytes delivered to the host.

Logs Undelivered

The number of log messages that didn't reach the host.

Bytes Undelivered

The total number of bytes that were not delivered to the host.

Sample Output

clear security log transport

Release Information

Command introduced in Junos OS Release 25.4R1