grippo 0.1.2

Parse, match and scrub data at scale.
Documentation
1
2
3
4
5
# Redis log: `[pid] dd Mon hh:mm:ss.mmm * message`, or `pid:role dd Mon ...` since 3.0, where the role is X, C, S or M. The level mark is `.` debug, `-` verbose, `*` notice or `#` warning.
REDISTIMESTAMP %{MONTHDAY} %{MONTH} %{TIME}
REDISLOG (?:\[%{POSINT:pid}\]|%{POSINT:pid}:(?<role>[XCSM])) %{REDISTIMESTAMP:timestamp} (?<loglevel>[.*#-])[ ]
# MONITOR output: `epoch [db ip:port] "command" "arg" ...`.
REDISMONLOG %{NUMBER:timestamp} \[%{INT:database} %{IP:client}:%{NUMBER:port}\] "%{WORD:command}" ?%{GREEDYDATA:params}