base/protocols/redis/spicy-events.zeek
- Redis
Events and records generated by the Redis analyzer.
- Namespace:
Redis
Summary
Types
The Redis AUTH command. |
|
A generic Redis command from the client. |
|
The Redis HELLO command (handshake). |
|
A generic Redis reply from the client. |
|
The Redis SET command. |
Events
Generated for Redis AUTH commands sent to the Redis server. |
|
Generated for every command sent by the client to the Redis server. |
|
Generated for every error response sent by the Redis server to the client. |
|
Generated for Redis GET commands sent to the Redis server. |
|
Generated for Redis HELLO commands sent to the Redis server. |
|
Generated for every successful response sent by the Redis server to the client. |
|
Generated for out-of-band data, outside of the request-response model. |
|
Generated for Redis SET commands sent to the Redis server. |
Detailed Interface
Types
- Redis::AuthCommand
- Type:
- Fields:
The Redis AUTH command.
- Redis::Command
- Type:
- Fields:
-
-
name:
string&log The first element of the command. Some commands are two strings, meaning this is inaccurate for those cases.
-
known:
Redis::RedisCommand&optional The command in an enum if it was known
-
name:
A generic Redis command from the client.
- Redis::HelloCommand
- Type:
- Fields:
The Redis HELLO command (handshake).
- Redis::ReplyData
- Type:
- Fields:
A generic Redis reply from the client.
Events
- Redis::auth_command
- Type:
event(c:connection, command:Redis::AuthCommand)
Generated for Redis AUTH commands sent to the Redis server.
- Parameters:
c – The connection.
command – The AUTH command sent to the server and its data.
- Redis::command
- Type:
event(c:connection, cmd:Redis::Command)
Generated for every command sent by the client to the Redis server.
- Parameters:
c – The connection.
cmd – The command sent to the server.
- Redis::error
- Type:
event(c:connection, data:Redis::ReplyData)
Generated for every error response sent by the Redis server to the client.
- Parameters:
c – The connection.
data – The server data sent to the client.
- Redis::get_command
- Type:
event(c:connection, key:string)
Generated for Redis GET commands sent to the Redis server.
- Parameters:
c – The connection.
command – The GET command sent to the server and its data.
- Redis::hello_command
- Type:
event(c:connection, command:Redis::HelloCommand)
Generated for Redis HELLO commands sent to the Redis server.
- Parameters:
c – The connection.
command – The HELLO command sent to the server and its data.
- Redis::reply
- Type:
event(c:connection, data:Redis::ReplyData)
Generated for every successful response sent by the Redis server to the client. For RESP2, this includes “push” messages, which are out of band. These will also raise a server_push event. RESP3 push messages will only raise a server_push event.
- Parameters:
c – The connection.
data – The server data sent to the client.
See also:
Redis::server_push
- Redis::server_push
- Type:
event(c:connection, data:Redis::ReplyData)
Generated for out-of-band data, outside of the request-response model.
- Parameters:
c – The connection.
data – The server data sent to the client.
- Redis::set_command
- Type:
event(c:connection, command:Redis::SetCommand)
Generated for Redis SET commands sent to the Redis server.
- Parameters:
c – The connection.
command – The SET command sent to the server and its data.