summaryrefslogtreecommitdiffstats
path: root/src/commands/slowlog-get.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/slowlog-get.json')
-rw-r--r--src/commands/slowlog-get.json33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/commands/slowlog-get.json b/src/commands/slowlog-get.json
new file mode 100644
index 0000000..1121264
--- /dev/null
+++ b/src/commands/slowlog-get.json
@@ -0,0 +1,33 @@
+{
+ "GET": {
+ "summary": "Get the slow log's entries",
+ "complexity": "O(N) where N is the number of entries returned",
+ "group": "server",
+ "since": "2.2.12",
+ "arity": -2,
+ "container": "SLOWLOG",
+ "function": "slowlogCommand",
+ "history": [
+ [
+ "4.0.0",
+ "Added client IP address, port and name to the reply."
+ ]
+ ],
+ "command_flags": [
+ "ADMIN",
+ "LOADING",
+ "STALE"
+ ],
+ "command_tips": [
+ "REQUEST_POLICY:ALL_NODES",
+ "NONDETERMINISTIC_OUTPUT"
+ ],
+ "arguments": [
+ {
+ "name": "count",
+ "type": "integer",
+ "optional": true
+ }
+ ]
+ }
+}