-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathceph_log.json
57 lines (57 loc) · 2.01 KB
/
ceph_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
48
49
50
51
52
53
54
55
56
57
{
"ceph_log" : {
"title" : "Ceph Log",
"description" : "Log format for the ceph storage cluster",
"url" : "http://ceph.com",
"regex" : {
"basic" : {
"pattern" : "(?<timestamp>\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}\\.\\d{6}) (?<nodeclass>\\w+)\\.(?<nodename>\\S+) (?<actorclass>\\w+)\\.(?<actorname>\\d+) (?<nodeip>\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}):(?<nodesocket>\\d+)\\/\\d+ \\d+\\s+:\\s+(?<scope>\\S+) \\[(?<level>\\w+)\\] (?<body>.*)$"
},
"nautilus" : {
"pattern" : "(?<timestamp>\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}\\.\\d{6}) (?<nodeclass>\\w+)\\.(?<nodename>\\S+) \\((?<actorclass>\\w+)\\.(?<actorname>\\d+)\\) \\d+\\s+:\\s+(?<scope>\\S+) \\[(?<level>\\w+)\\] (?<body>.*)$"
}
},
"level-field" : "level",
"level" : {
"debug" : "DBG",
"info" : "INF",
"error" : "ERR",
"warning" : "WRN"
},
"value" : {
"nodeclass" : {
"kind" : "string",
"identifier" : true
},
"nodename" : {
"kind" : "string",
"identifier" : true
},
"actorclass" : {
"kind" : "string",
"identifier" : true
},
"actorname" : {
"kind" : "string",
"identifier" : true
},
"nodeip" : {
"kind" : "string",
"identifier" : true
},
"nodesocket" : {
"kind" : "integer",
"identifier" : true
},
"scope" : {
"kind" : "string",
"identifier" : true
}
},
"sample" : [
{
"line" : "2017-11-20 08:12:29.266581 mon.vm_ceph-admin mon.0 192.168.150.114:6789/0 8382 : cluster [INF] osd.17 192.168.150.111:6808/4436 boot"
}
]
}
}