{
    "$schema": "https://lnav.org/schemas/format-v1.schema.json",
    "sssd_log": {
        "title": "SSSD log format",
        "description": "Log format used by the System Security Services Daemon",
        "url": "http://fedorahosted.org/sssd",
        "regex": {
            "core": {
                "pattern": "^\\((?<timestamp>\\S{3,8} \\S{3,8} ( \\d|\\d{2}) \\d{2}:\\d{2}:\\d{2} \\d{4})\\) \\[sssd\\] \\[(?<function>\\w+)\\] \\((?<debug_level>0x[0-9a-fA-F]{4})\\): (?<body>.*)$"
            },
            "module": {
                "pattern": "^\\((?<timestamp>\\S{3,8} \\S{3,8} ( \\d|\\d{2}) \\d{2}:\\d{2}:\\d{2} \\d{4})\\) \\[sssd(?<module>\\[.*?\\])\\] \\[(?<function>\\w+)\\] \\((?<debug_level>0x[0-9a-fA-F]{4})\\): (?<body>.*)$"
            }
        },
        "value": {
            "module": {
                "kind": "string"
            },
            "function": {
                "kind": "string"
            },
            "debug_level": {
                "kind": "string"
            },
            "body": {
                "kind": "string"
            }
        },
        "sample": [
            {
                "line": "(Tue Mar 31 06:03:46 2015) [sssd[be[default]]] [sysdb_search_by_name] (0x0400): No such entry"
            },
            {
                "line": "(Tue Mar 31 05:58:38 2015) [sssd] [start_service] (0x0100): Queueing service LDAP for startup"
            }
        ]
    }
}