-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathzypper.json
33 lines (32 loc) · 1.33 KB
/
zypper.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
{
"zypper_log" : {
"title": "zypper operations log",
"description": "zypper log format found in SUSE & SLES",
"url": "",
"regex": {
"std": {
"pattern": "^(?<timestamp>\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}) <\\d> (?<hostname>\\S+)\\((?<pid>\\d+)\\) \\[(?<process>[\\:\\+\\-\\.\\w\\d]+)\\] (?<sourcefile>[\\-\\w]+\\.\\w+)\\((?<method>\\S+)\\)\\:(?<line>\\d+) (\\- )?(?<body>.*)$"
}
},
"level-field": "body",
"level": {
"warning" : "WARN",
"debug" : "DEBUG",
"info" : "INFO",
"error" : "ERROR"
},
"value": {
"hostname" : { "kind": "string", "identifier": true },
"process" : { "kind": "string", "identifier": true },
"sourcefile" : { "kind": "string", "identifier": true },
"pid" : { "kind": "integer", "identifier": true },
"method" : { "kind": "string", "identifier": true },
"line" : { "kind": "integer", "identifier": true }
},
"sample": [
{
"line" : "2018-05-04 10:44:40 <1> dev-md1-db(37408) [zypp] PathInfo.cc(dirForEach):553 readdir /var/cache/zypp/raw"
}
]
}
}