-
Notifications
You must be signed in to change notification settings - Fork 3
/
vobd_log.json
47 lines (46 loc) · 1.63 KB
/
vobd_log.json
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
{
"vobd_log" : {
"title" : "vmware vobd",
"description" : "vmware's vobd log format",
"url" : "",
"regex" : {
"std" : {
/*"pattern" : "^(?<timestamp>\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z): \\[(?<subsystem>[0-9a-zA-Z]+)\\] (?<ussinceboot>\\d+)us: \\[(?<state>[0-9a-zA-Z.]+)\\] (?<body>.*)$" */
"pattern" : "^(?<timestamp>\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z): (?:.*event \\((?<event>\\S+)\\).*|\\[(?<subsystem>[0-9a-zA-Z]+)\\] (?<ussinceboot>\\d+)us: \\[(?<state>[0-9a-zA-Z.]+)\\] (?<body>.*))?$"
}
},
"level-field" : "body",
"level" : {
"warning" : "(?:degraded|stopped)",
"error" : "(?:from on|down)"
},
"value" : {
"event" : {
"kind" : "string",
"identifier" : true
},
"subsystem" : {
"kind" : "string",
"identifier" : true
},
"ussinceboot": {
"kind" : "integer",
"identifier" : false
},
"state" : {
"kind" : "string",
"identifier" : true
},
"body" : {
"kind" : "string",
"identifier" : false,
"rewriter" : ":pipe-line-to test.pl"
}
},
"sample" : [
{
"line" : "2014-06-14T06:15:25.752Z: [scsiCorrelator] 104959723901us: [vob.scsi.scsipath.pathstate.dead] scsiPath vmhba2:C0:T1:L13 changed state from on"
}
]
}
}