hwware/redis

[NEW] Add two more values for slowlog command

Opened this issue · 0 comments

Current slowlog get command return the following 6 values as below:
127.0.0.1:6381[10]> slowlog get

  1. 1.(integer) 7
    2.(integer) 1678218844
    3.(integer) 5
    4. 1."client"
    2."getname"
    5. "127.0.0.1:58806"
    6. "MMM"

  2. 1.(integer) 6
    2.(integer) 1678218835
    3.(integer) 5
    4. 1."client"
    2."setname"
    3."MMM"
    5. "127.0.0.1:58806"
    6. "MMM"

We need add 2 more values for it:
1. database index value which represents which database client executes the command
2. acl username (default username is "default")