summaryrefslogtreecommitdiffstats
path: root/src/formats/vmw_py_log.json
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:01:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:01:36 +0000
commit62e4c68907d8d33709c2c1f92a161dff00b3d5f2 (patch)
treeadbbaf3acf88ea08f6eeec4b75ee98ad3b07fbdc /src/formats/vmw_py_log.json
parentInitial commit. (diff)
downloadlnav-62e4c68907d8d33709c2c1f92a161dff00b3d5f2.tar.xz
lnav-62e4c68907d8d33709c2c1f92a161dff00b3d5f2.zip
Adding upstream version 0.11.2.upstream/0.11.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/formats/vmw_py_log.json')
-rw-r--r--src/formats/vmw_py_log.json45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/formats/vmw_py_log.json b/src/formats/vmw_py_log.json
new file mode 100644
index 0000000..0ce5ed4
--- /dev/null
+++ b/src/formats/vmw_py_log.json
@@ -0,0 +1,45 @@
+{
+ "$schema": "https://lnav.org/schemas/format-v1.schema.json",
+ "vmw_py_log": {
+ "title": "VMware vSphere log format",
+ "description": "The log format for some VMware vSphere services",
+ "url": "http://kb.vmware.com/kb/2000988",
+ "regex": {
+ "std": {
+ "pattern": "^(?<timestamp>\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?(?: (?:AM|PM) UTC)?) \\[(?<pid>\\d+)\\](?<level>ERROR|WARNING|INFO|DEBUG):(?<module>[\\w\\-\\.]+):(?<body>.*$)"
+ }
+ },
+ "level-field": "level",
+ "timestamp-field": "timestamp",
+ "level": {
+ "error": "ERROR",
+ "debug": "DEBUG",
+ "info": "INFO",
+ "warning": "WARNING"
+ },
+ "value": {
+ "pid": {
+ "kind": "integer",
+ "identifier": true,
+ "foreign-key": true,
+ "description": "The ID of the process that generated the message"
+ },
+ "module": {
+ "kind": "string",
+ "identifier": true,
+ "description": "The name of the module that generated the message"
+ }
+ },
+ "sample": [
+ {
+ "line": "2015-04-24T21:09:29.296 [25376]INFO:somemodule:Something very INFOrmative."
+ },
+ {
+ "line": "2022-06-01T13:23:25.515 [2376]DEBUG:vmware.vherd.base.detwist:method = com.vmware.appliance.version1.networking.interfaces.list, args = ()"
+ },
+ {
+ "line": "2022-06-01T13:23:25.31 [2376]DEBUG:com.vmware.vherd.base.detwist:method = com.vmware.appliance.version1.system.version.get, args = ()"
+ }
+ ]
+ }
+} \ No newline at end of file