{ "$schema": "https://lnav.org/schemas/format-v1.schema.json", "redis_log": { "title": "Redis", "url": [ "https://redis.com", "https://build47.com/redis-log-format-levels/" ], "description": "The Redis database", "regex": { "v2.x": { "pattern": "\\[(?\\d+)\\]\\s+(?\\d{1,2} [a-zA-Z]{3} \\d{2}:\\d{2}:\\d{2}\\.\\d{3})\\s+(?[\\.\\-\\*\\#])\\s+(?.*)" }, "v3.x": { "pattern": "(?\\d+):(?[XCSM])\\s+(?\\d{1,2} [a-zA-Z]{3} \\d{4} \\d{2}:\\d{2}:\\d{2}\\.\\d{3})\\s+(?[\\.\\*\\#\\-])\\s+(?.*)" }, "sig": { "pattern": "(?\\d+):(?signal-handler) \\((?\\d+)\\) (?.*)" } }, "timestamp-format": [ "%s", "%d %b %Y %H:%M:%S.%L", "%d %b %H:%M:%S.%L" ], "level": { "debug": "^\\.$", "trace": "^-$", "notice": "^\\*$", "warning": "^#$" }, "value": { "level": { "kind": "string" }, "pid": { "kind": "string", "identifier": true }, "role": { "kind": "string" }, "timestamp": { "kind": "string" } }, "sample": [ { "line": "1:M 29 Aug 2023 13:47:38.984 * monotonic clock: POSIX clock_gettime" }, { "line": "1:signal-handler (1693279182) Received SIGTERM scheduling shutdown..." }, { "line": "[3574] 13 Apr 12:52:30.731 # Sentinel runid is 2e3b1eed9e95d760e1853e047a33bf4f8ac16c59" } ] } }