-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.yaml
40 lines (37 loc) · 846 Bytes
/
test.yaml
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
logging:
receivers:
wordpress:
type: files
include_paths:
- /var/www/html/api.wpdeveloper.com/wp-content/debug.log
nginx_error:
type: nginx_error
processors:
custom_processor:
type: parse_multiline
match_any:
- type: language_exceptions
language: java
service:
pipelines:
default_pipeline:
receivers: []
custom_pipeline:
receivers: [wordpress]
processors: [custom_processor]
nginx:
receivers: [nginx_error]
logging:
receivers:
wordpress:
type: files
include_paths:
- /var/www/html/api.wpdeveloper.com/wp-content/debug.log
nginx_error:
type: nginx_error
service:
pipelines:
default_pipeline:
receivers: [wordpress]
nginx:
receivers: [nginx_error]