Skip to content

Commit

Permalink
Added log file json for Citrix Xen Center logs, found in their diagno…
Browse files Browse the repository at this point in the history
…stic support bundles.
  • Loading branch information
hagfelsh committed Sep 10, 2015
1 parent 847ba02 commit f5ec5d2
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions xencenter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"XenCenter_log" : {
"title": "xen center log",
"description": "XenCenter.log format",
"url": "",
"regex": {
"std": {
"pattern": "^(?<timestamp>\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2},\\d{3}) (?<level>\\w+)\\s+(?<method>[a-zA-Z0-9\\.]+) \\[(?<targetobject>[a-zA-Z0-9\\s]+)\\] \\- (?<body>.*)"
}
},
"level-field": "level",
"level": {
"warning" : "WARN",
"debug" : "DEBUG",
"info" : "INFO",
"error" : "ERROR"
},
"value": {
"targetobject": { "kind": "string", "identifier": true },
"method": { "kind": "string", "identifier": true }
},

"sample": [
{
"line" : "2015-09-09 12:42:32,706 DEBUG XenAdmin.Actions.GUIActions.MeddlingAction [2360] - Updating task OpaqueRef:83f91110-aca6-b4f7-4454-c926d4e86a21 : 09/09/2015 17:42:20 - 09/09/2015 17:42:32"
}
]
}
}

0 comments on commit f5ec5d2

Please sign in to comment.