Supported Platforms
Related Documentation
- LN, SRX Series
- exclude (Security Log)
- SRX Series
- show security log
- Additional Information
- System Log Monitoring and Troubleshooting Guide for Security Devices
clear security log
Syntax
Release Information
Command introduced in Release 11.2 of Junos OS.
Description
Deletes the event log.
Options
all | — | Clears all audit event logs stored in the device memory. |
destination-address | — | Clears audit event logs with the specified destination address. |
destination-port | — | Clears audit event logs with the specified destination port. |
event-id | — | Clears audit event logs with the specified event identification number. |
failure | — | Clears failed audit event logs. |
interface-name | — | Clears audit event logs with the specified interface. |
newer-than | — | Clears audit event logs newer than the specified date and time. |
older-than | — | Clears audit event logs older than the specified date and time |
process | — | Clears audit event logs with the specified process that generated the event. |
protocol | — | Clears audit event logs generated through the specified protocol. |
severity | — | Clears audit event logs generated with the specified severity. |
source-address | — | Clears audit event logs with the specified source address. |
source-port | — | Clears audit event logs with the specified source port. |
success | — | Clears successful audit event logs. |
username | — | Clears audit event logs generated for the specified user. |
Required Privilege Level
clear
Related Documentation
- LN, SRX Series
- exclude (Security Log)
- SRX Series
- show security log
- Additional Information
- System Log Monitoring and Troubleshooting Guide for Security Devices
Sample Output
clear security log all
user@host> clear security log all
7905 security log events cleared
Published: 2014-05-07
Supported Platforms
Related Documentation
- LN, SRX Series
- exclude (Security Log)
- SRX Series
- show security log
- Additional Information
- System Log Monitoring and Troubleshooting Guide for Security Devices