clear security log stream file
Syntax
clear security log query clear security log stream file <file-name>
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
clear security log stream file LSYS_f1.bin logical-system LSYS1
user@host> clear security log stream file LSYS_f1.bin logical-system LSYS1 Request to clear log stream file succeeds
clear security log stream file TSYS_f1.bin tenant-system TSYS1
user@host> clear security log stream file TSYS_f1.bin tenant-system TSYS1 Request to clear log stream file succeeds
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.