1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
{
"$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{1,3}Z)\\s+(?<level>\\w+)\\s+(?<module>\\w+)\\s\\[(?<srcfile>[^:]+):(?<srcline>\\d+)\\](\\s+\\[opID=(?<opid>[^\\]]+)\\])?\\s+(?<body>.*)"
}
},
"opid-field": "opid",
"opid": {
"description": {
"get-changes": {
"format": [
{
"field": "body",
"extractor": "(GetChanges for sequence token: \\d+)"
}
]
},
"resource-model-query": {
"format": [
{
"field": "body",
"extractor": "ResourceModel query"
}
]
},
"create-session": {
"format": [
{
"field": "body",
"extractor": "(Created session for .*)"
}
]
},
"delete-session": {
"format": [
{
"field": "body",
"extractor": "Deleting session for .*"
}
]
},
"vlcm-download": {
"format": [
{
"field": "body",
"extractor": "Validating the URL: .*(/[^/]+)"
}
]
}
}
},
"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"
},
{
"line": "2023-07-19T03:05:15.97Z info vlcm [serviceconfig/config.go:377] Getting timeout properties for deployment type: tiny",
"level": "info"
}
]
}
}
|