summaryrefslogtreecommitdiffstats
path: root/src/formats/sssd_log.json
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:55 +0000
commit5068d34c08f951a7ea6257d305a1627b09a95817 (patch)
tree08213e2be853396a3b07ce15dbe222644dcd9a89 /src/formats/sssd_log.json
parentInitial commit. (diff)
downloadlnav-upstream.tar.xz
lnav-upstream.zip
Adding upstream version 0.11.1.upstream/0.11.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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