spicy-redis: Add some script logic for logging

Also "rebrands" from RESP to Redis.
This commit is contained in:
Evan Typanski 2024-10-28 16:31:49 -04:00
parent 757cbbf902
commit 22bda56af3
36 changed files with 266 additions and 86 deletions

View file

@ -0,0 +1,8 @@
# @TEST-DOC: Test Zeek parsing "pipelined" data responses
#
# @TEST-EXEC: zeek -Cr $TRACES/redis/excessive-pipelining.trace base/protocols/redis %INPUT >output
# @TEST-EXEC: btest-diff redis.log
# @TEST-EXEC: btest-diff weird.log
# Make sure we get a weird if we go over the pipelining threshold (intentionally limited)
redef Redis::max_pending_requests = 5;