summaryrefslogtreecommitdiffstats
path: root/src/formats/sssd_log.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/formats/sssd_log.json')
-rw-r--r--src/formats/sssd_log.json38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/formats/sssd_log.json b/src/formats/sssd_log.json
new file mode 100644
index 0000000..04f3a77
--- /dev/null
+++ b/src/formats/sssd_log.json
@@ -0,0 +1,38 @@
+{
+ "$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"
+ }
+ ]
+ }
+} \ No newline at end of file