Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

clear security log

Syntax

clear security log<all><destination-address><destination-port><event-id><failure><interface-name><newer-than><older--than><process><protocol><severity><source-address><source-port><success><username>

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

Sample Output

clear security log all

user@host> clear security log all
7905 security log events cleared

Published: 2014-05-07

Supported Platforms

Published: 2014-05-07