-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathinit.yml
39 lines (39 loc) · 1.51 KB
/
init.yml
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
# You should not use special characters in the value keys
#
# A single whitespace in `line` will match any number of whitespaces. You should be explicit when
# Matching white space in `values`
#
prefixes:
- time_format: "%b %d %H:%M:%S"
values:
messageId: (\d+)
# On IOS-XR syslog messages do not contain the hostname by default, they
# only provide the node-id which, e.g RP/0/RSP0/CPU0. To include the
# hostname you can add a hostname prefix, however as this is not always
# present the host field can be empty.
host: ([^ ]+)
nodeId: ([^ ]+)
date: (\w+ +\d+)
time: (\d\d:\d\d:\d\d)
milliseconds: (\.\d\d\d)
timeZone: \s?(\w\w\w)?
processName: (\w+)
processId: (\d+)
tag: ([\w-]+)
line: '{messageId}: {host} {nodeId}:{date} {time}{milliseconds}{timeZone}: {processName}[{processId}]: %{tag} : '
- time_format: "%b %d %H:%M:%S"
values:
messageId: (\d+)
# On IOS-XR syslog messages do not contain the hostname by default, they
# only provide the node-id which, e.g RP/0/RSP0/CPU0. To include the
# hostname you can add a hostname prefix, however as this is not always
# present the host field can be empty.
nodeId: ([^ ]+)
date: (\w+ +\d+)
time: (\d\d:\d\d:\d\d)
milliseconds: (\.\d\d\d)
timeZone: \s?(\w\w\w)?
processName: (\w+)
processId: (\d+)
tag: ([\w-]+)
line: '{messageId}: {nodeId}:{date} {time}{milliseconds}{timeZone}: {processName}[{processId}]: %{tag} : '