Skip to content

Commit

Permalink
updated vmware_guest_log.json
Browse files Browse the repository at this point in the history
Added a new regex & line for ESXi 7.x
  • Loading branch information
hagfelsh authored Sep 15, 2021
1 parent f11d5e1 commit 2f0f037
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions vmware_guest_log.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@
"url" : "",
"regex" : {
"std" : {
"pattern" : "^(?<timestamp>\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z)\\|\\s+(?<processname>[0-9a-zA-Z\\-\\#]+)\\|\\s+(?<level>\\w{1})(?<errornumber>\\d+)[+:]\\s+(?:(?<object>\\S+):\\s+|(?<body>.*))$"
}
"pattern" : "^(?<timestamp>\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{3})?Z)(\\[\\+\\d+\\.\\d+\\])?\\|\\s+(?<processname>[0-9a-zA-Z\\-\\#]+)(\\s+)?\\|\\s+(?<level>\\w{1})(?<errornumber>\\d+)[+:]\\s+((?<reporter>[\\w\\d\\s\\-\\_]+)(\\s+)?:)?(?<body>.*)$"
},
"v70" : {
"pattern" : "^(?<timestamp>\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z)\\|\\s*(?<processname>[\\w\\-]+)\\s*\\|\\s*\\|\\s+(?<level>\\w{1})(?<errornumber>\\d+)[+:]\\s+((?<reporter>[\\w\\d\\s\\-\\_]+)(\\s+)?:)?(?<body>.*)$"
}
},
"level-field" : "level",
"level" : { "warning" : "(?:W|A)", "error" : "E" },
Expand All @@ -19,17 +22,28 @@
"kind" : "integer",
"identifier" : true
},
"reporter" : {
"kind" : "string",
"identifier" : true
},
"object" : {
"kind" : "string",
"identifier" : true
},
"vcpu" : {
"kind" : "string",
"identifier" : true
}
},
},
"sample" : [
{
"line" : "2015-05-15T23:30:38.045Z| vmx| I120: VLANCE: send cluster threshold is 80, size = 2 recalcInterval is 2 ticks"
},
{
"line" : "2015-05-15T23:30:49.873Z| vcpu-0| I120: SVGA enabling SVGA"
},
{
"line" : "2021-08-27T12:41:03.875Z| vcpu-1| | I005: SVGA: Unregistering MemSpace at 0xe8000000(0xe8000000) and 0xfe000000(0xfe000000)"
}
]
}
Expand Down

0 comments on commit 2f0f037

Please sign in to comment.