mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

This makes the parser more official and splits the client/server out from each other. Apparently they're different enough to be separate.
9 lines
321 B
Text
9 lines
321 B
Text
# @TEST-DOC: Test Zeek parsing SET commands
|
|
#
|
|
# @TEST-EXEC: zeek -Cr $TRACES/redis/set.trace base/protocols/redis %INPUT >output
|
|
# @TEST-EXEC: btest-diff output
|
|
|
|
event Redis::set_command(c: connection, is_orig: bool, command: Redis::SetCommand)
|
|
{
|
|
print fmt("Key: %s Value: %s", command$key, command$value);
|
|
}
|