-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgrc.conf
More file actions
132 lines (115 loc) · 1.97 KB
/
grc.conf
File metadata and controls
132 lines (115 loc) · 1.97 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# this configuration file is suitable for displaying kernel log files
# example of text substitution
#regexp=\bda?emon
#replace=angel
#colours=red
#======
# example of text substitution
#regexp=(\d\d):(\d\d):(\d\d)
#replace=\1h\2m\3s
#======
# [ERR]
regexp=\[ERR\]
colour=bold red
count=more
======
# [WRN]
regexp=\[WRN\]
colour=bold yellow
count=more
======
# blockchain keywords requires special attention
# regexp=account|transaction|address|block
# colours=green
# count=more
# ======
# connect requires special attention
# regexp=connect
# colours=on_blue
# count=more
# ======
# fail requires special attention
regexp=fail|error|Fail|Error|FAIL|ERROR
colours=on_red
count=more
======
# localhost
regexp=localhost|127\.0\.0\.1
colours=magenta
count=more
======
# block/tx hash 32 bytes
regexp=[a-fA-F0-9]{64}
colours=cyan
count=more
======
# display this line in yellow and stop further processing
regexp=.*last message repeated \d+ times$
colours=yellow
count=stop
======
# this is date
regexp=^... (\d| )\d \d\d:\d\d:\d\d(\s[\w\d]+?\s)
colours=green, green, red
count=once
======
# everything in parentheses
# regexp=\(.+?\)
# colours=green
# count=more
# ======
# everything in `'
regexp=\`.+?\'
colours=bold yellow
count=more
======
# this is probably a pathname
regexp=/[\w/\.]+
colours=bold green
count=more
======
# name of process and pid
regexp=([\w/\.\-]+)(\[\d+?\])
colours=bold blue, bold red
count=more
======
# ip number
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
colours=magenta
count=more
# IP4
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
colours=yellow
-
# IP6
regexp=[0-9a-fA-F]{0,4}(\:\:?[0-9a-fA-F]{0,4})+?(\/\d{1,3})
colours=yellow
-
# MAC
regexp=(\d|[a-f]){2}(\:(\d|[a-f]){2}){5}
colours=magenta
-
# parenthesis
regexp=\(|\)
colours=yellow
-
# dev wlan0 etc
regexp=dev \w+
colours=yellow
-
# "default"
regexp=default
colours=on_blue
-
# ip range size
regexp=/\d{1,2}
colours=red
-
# "linkdown"
regexp=linkdown
colours=bold red
-
# "src"
regexp=src \S+
colours=on_magenta
-