summaryrefslogtreecommitdiffstats
path: root/src/commands/slowlog-reset.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/slowlog-reset.json')
-rw-r--r--src/commands/slowlog-reset.json23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/commands/slowlog-reset.json b/src/commands/slowlog-reset.json
new file mode 100644
index 0000000..cfc1e4d
--- /dev/null
+++ b/src/commands/slowlog-reset.json
@@ -0,0 +1,23 @@
+{
+ "RESET": {
+ "summary": "Clears all entries from the slow log.",
+ "complexity": "O(N) where N is the number of entries in the slowlog",
+ "group": "server",
+ "since": "2.2.12",
+ "arity": 2,
+ "container": "SLOWLOG",
+ "function": "slowlogCommand",
+ "command_flags": [
+ "ADMIN",
+ "LOADING",
+ "STALE"
+ ],
+ "command_tips": [
+ "REQUEST_POLICY:ALL_NODES",
+ "RESPONSE_POLICY:ALL_SUCCEEDED"
+ ],
+ "reply_schema": {
+ "const": "OK"
+ }
+ }
+}