From 5068d34c08f951a7ea6257d305a1627b09a95817 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 19:44:55 +0200 Subject: Adding upstream version 0.11.1. Signed-off-by: Daniel Baumann --- src/formats/vmw_py_log.json | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/formats/vmw_py_log.json (limited to 'src/formats/vmw_py_log.json') diff --git a/src/formats/vmw_py_log.json b/src/formats/vmw_py_log.json new file mode 100644 index 0000000..25bb3e8 --- /dev/null +++ b/src/formats/vmw_py_log.json @@ -0,0 +1,42 @@ +{ + "$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": "^(?\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{3})?(?: (?:AM|PM) UTC)?) \\[(?\\d+)\\](?ERROR|WARNING|INFO|DEBUG):(?[\\w\\-\\.]+):(?.*$)" + } + }, + "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 = ()" + } + ] + } +} \ No newline at end of file -- cgit v1.2.3