diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 17:44:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 17:44:55 +0000 |
commit | 5068d34c08f951a7ea6257d305a1627b09a95817 (patch) | |
tree | 08213e2be853396a3b07ce15dbe222644dcd9a89 /src/formats/vmw_vc_svc_log.json | |
parent | Initial commit. (diff) | |
download | lnav-5068d34c08f951a7ea6257d305a1627b09a95817.tar.xz lnav-5068d34c08f951a7ea6257d305a1627b09a95817.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/vmw_vc_svc_log.json | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/formats/vmw_vc_svc_log.json b/src/formats/vmw_vc_svc_log.json new file mode 100644 index 0000000..ed507f7 --- /dev/null +++ b/src/formats/vmw_vc_svc_log.json @@ -0,0 +1,48 @@ +{ + "$schema": "https://lnav.org/schemas/format-v1.schema.json", + "vmw_vc_svc_log": { + "title": "VMware Go Log", + "description": "Log files for go-based logs", + "url": "https://docs.vmware.com/en/VMware-vSphere/7.0/vmware-vsphere-with-tanzu/GUID-2A989D79-463C-4EC8-A5F2-CDC3A2C827FB.html", + "regex": { + "std": { + "pattern": "^(?<timestamp>\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z)\\s+(?<level>\\w+)\\s+(?<module>\\w+)\\s\\[(?<srcfile>[^:]+):(?<srcline>\\d+)\\](\\s+\\[opID=(?<opid>[^\\]]+)\\])?\\s+(?<body>.*)" + } + }, + "opid-field": "opid", + "value": { + "body": { + "kind": "string" + }, + "opid": { + "kind": "string" + }, + "srcfile": { + "kind": "string", + "identifier": true + }, + "srcline": { + "kind": "string", + "identifier": true + }, + "module": { + "kind": "string", + "identifier": true + } + }, + "sample": [ + { + "line": "2022-06-02T12:25:11.537Z info wcp [eamagency/util.go:148] [opID=vCLS] Going to read service config", + "level": "info" + }, + { + "line": "2022-06-02T10:54:45.001Z debug wcp [auth/session.go:156] Removing expired sessions", + "level": "debug" + }, + { + "line": "2022-06-02T08:35:17.031Z info vlcm [logger/teelogger.go:47] [opID=vapi] Loading Introspection Services", + "level": "info" + } + ] + } +} |