-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathblueprints.yaml
127 lines (121 loc) · 3.32 KB
/
blueprints.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
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
name: Logger Channels
slug: logger-channels
type: plugin
version: 1.1.2
description: Add or replace logger handlers and targets for any grav system.
icon: paperclip
author:
name: Stephan Strate
email: [email protected]
homepage: https://github.com/stephan-strate/grav-plugin-logger-channels
keywords: grav, plugin, log, monolog
bugs: https://github.com/stephan-strate/grav-plugin-logger-channels/issues
docs: https://github.com/stephan-strate/grav-plugin-logger-channels/blob/develop/README.md
license: MIT
dependencies:
- { name: grav, version: '>=1.6.0' }
form:
validation: loose
fields:
enabled:
type: toggle
label: PLUGIN_ADMIN.PLUGIN_STATUS
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
remove_default_handlers:
type: toggle
label: Remove default handler
default: 0
highlight: 0
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
handlers.fieldset.discord:
type: fieldset
title: Discord
collapsed: true
collapsible: true
fields:
handlers.discord:
type: list
label: Handlers
fields:
.webhook:
type: url
label: Webhook
.level:
type: select
label: Level
default: INFO
data-options@: Grav\Plugin\LoggerChannels\Utils::levelsOptions
handlers.fieldset.telegram:
type: fieldset
title: Telegram
collapsed: true
collapsible: true
fields:
handlers.telegram:
type: list
label: Handlers
fields:
.token:
type: text
label: Token
.chatid:
type: text
label: Chat id
.level:
type: select
label: Level
default: INFO
data-options@: Grav\Plugin\LoggerChannels\Utils::levelsOptions
handlers.fieldset.graylog:
type: fieldset
title: Graylog
collapsed: true
collapsible: true
fields:
handlers.graylog:
type: list
label: Handlers
fields:
.host:
type: text
label: Host or IP address
default: 127.0.0.1
.port:
type: number
label: Port number
default: 12201
validate:
type: number
min: 1
max: 65535
.protocol:
type: select
label: Protocol
default: udp
options:
tcp: TCP
udp: UDP
.extra_fields:
type: list
label: Additional fields
help: 'These fields (whose key will be prefixed with an underscore) will be appended to every GELF log message. Useful for tokens, like X-OVH-TOKEN.'
fields:
.key:
type: text
label: Key
.value:
type: text
label: Value
.level:
type: select
label: Level
default: INFO
data-options@: Grav\Plugin\LoggerChannels\Utils::levelsOptions