-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.xogs
112 lines (112 loc) · 2.54 KB
/
.xogs
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
defaultProfile: logstash_with_prefix
profiles:
- name: logfmt
pipeline:
processors:
- parser:
logfmt: {}
displayConfig:
columns:
- title: level
width: 0.1
valueKey: level
- title: msg
width: 0.8
valueKey: msg
- title: tag
width: 0.1
valueKey: tag
- name: ping
pipeline:
processors:
- parser:
regex:
values:
- key: time
regex: "time=(.*)"
- key: ttl
regex: 'ttl=(\d*)'
displayConfig:
columns:
- title: time
width: 0.1
valueKey: time
- title: ttl
width: 0.1
valueKey: ttl
- title: msg
width: 0.7
valueKey: __raw
- name: json
pipeline:
processors:
- parser:
json: {}
displayConfig:
columns:
- title: level
width: 0.1
valueKey: level
- title: env
width: 0.1
valueKey: env
- title: nested
width: 0.1
valueKey: some.nested.data
- title: msg
width: 0.7
valueKey: msg
- name: logstash
pipeline:
processors:
- parser:
json: {}
displayConfig:
columns:
- title: level
width: 0.1
valueKey: "@fields.level"
- title: timestamp
width: 0.1
valueKey: "@timestamp"
- title: msg
width: 0.4
valueKey: "@message"
- name: logstash_with_prefix
pipeline:
processors:
- parser:
regex:
values:
- key: service
regex: '\[([^\]]+)\]'
- key: "@message"
regex: '\[[^\]]+\]\s(.*)'
- key: log
regex: '\[[^\]]+\]\s(.*)'
- inputKey: log
parser:
json: {}
- inputKey: "@fields.level"
remapper:
targetKey: level
- inputKey: "@timestamp"
remapper:
targetKey: timestamp
- inputKey: "@message"
remapper:
targetKey: msg
displayConfig:
columns:
- title: service
width: 0.1
valueKey: "service"
- title: level
width: 0.05
valueKey: level
- title: timestamp
width: 0.1
valueKey: timestamp
- title: message
width: 0.75
valueKey: msg