Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

clear security log

Syntax

Description

Delete the event log.

Options

all

Clear all audit event logs stored in the device memory.

all-logical-systems-tenants

Clear all audit event logs for all the logical systems and tenant systems.

destination-address

Clear audit event logs with the specified destination address.

destination-port

Clear audit event logs with the specified destination port.

event-id

Clear audit event logs with the specified event identification number.

failure

Clear failed audit event logs.

interface-name

Clear audit event logs with the specified interface.

newer-than

Clear audit event logs newer than the specified date and time.

older-than

Clear audit event logs older than the specified date and time

process

Clear audit event logs with the specified process that generated the event.

protocol

Clear audit event logs generated through the specified protocol.

report

Clear on-box reports for system traffic logs.

severity

Clear audit event logs generated with the specified severity.

source-address

Clear audit event logs with the specified source address.

source-port

Clear audit event logs with the specified source port.

success

Clear successful audit event logs.

username

Clear audit event logs generated for the specified user.

Required Privilege Level

clear

Sample Output

clear security log all

Release Information

Command introduced in Junos OS Release 11.2.

all-logical-systems-tenants option introduced in Junos OS Release 19.3R1.