What's new in Valkey 9.0? Discover new features and improvements. Read the announcement.

SLOWLOG RESET

Clears all entries from the slow log.

Usage
SLOWLOG RESET
Complexity
O(N) where N is the number of entries in the slowlog
Since
2.2.12
ACL Categories
@admin, @dangerous, @slow
Command flags
ADMIN, LOADING, STALE

This command resets the slow log, clearing all entries in it.

Once deleted the information is lost forever.

Alternative

COMMANDLOG RESET SLOW

Replies

RESP2

RESP3