-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpacemaker.json
40 lines (40 loc) · 1.42 KB
/
pacemaker.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
{
"pacemaker_log" : {
"title" : "pacemaker log",
"description" : "Log format for pacemaker cluster management framework",
"url" : "",
"regex" : {
"std" : {
"pattern" : "^(?:(?<timestamp>\\w{3} \\d+ \\d{2}:\\d{2}:\\d{2}) \\[(?<pid>\\d+)\\] (?<hostname>\\S+)\\s+(?<subsystem>[\\-\\w]+):\\s+(?<level>\\w+):\\s+(?<body>.*)|(?<resourceSub>\\w+)\\((?<resourcetype>\\S+)\\)\\[(?<resourceSubPID>\\d+)\\]:\\s+(?<timestamp2>\\d{4}\\/\\d{2}\\/\\d{2}_\\d{2}:\\d{2}:\\d{2}) (?<level2>\\w+):\\s+(?<body2>.*))$"
}
},
"level-field" : "level",
"value" : {
"hostname" : {
"kind" : "string",
"identifier" : true
},
"pid" : {
"kind" : "integer",
"identifier" : true
},
"procname" : {
"kind" : "string",
"identifier" : true
},
"function" : {
"kind" : "string",
"identifier" : true
},
"resourceSubPID" : {
"kind" : "string",
"identifier" : true
}
},
"sample" : [
{
"line" : "Jul 19 13:44:21 [10089] mdstorbackup-b pengine: info: native_stop_constraints: NFSDaemon_stop_0 is implicit after mdstorbackup-b is fenced"
}
]
}
}