Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

clear security log stream file

Syntax

Description

  • clear security log query—Clear the content of the database.

  • clear security log stream file—Clear the content of the current log file.

  • clear security log stream file logical-system LSYS1 —Clear the content of the current log file for logical system.

  • clear security log stream file tenant TSYS1 —Clear the content of the current log file for tenant system.

Required Privilege Level

clear

Output Fields

The following outputs are occurred in two conditions:

  • Clear log stream file successfully, when there is log file.

  • Clear log stream file error or does not exits, when there is no log file.

Sample Output

clear security log stream file LSYS_f1.bin logical-system LSYS1

clear security log stream file TSYS_f1.bin tenant-system TSYS1

Release Information

Command introduced in Junos OS Release 15.1X49-D70.

The logical-system and tenant options are introduced in Junos OS Release 19.2R1.