@bsb/observable-graylog 9.1.2 → 9.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -52,7 +52,6 @@ export const GraylogConfigSchema = av.object({
52
52
  export const Config = createConfigSchema({
53
53
  name: 'observable-graylog',
54
54
  description: 'Graylog GELF observable plugin for centralized log ingestion',
55
- version: '9.0.0',
56
55
  image: './observable-graylog.png',
57
56
  tags: ['graylog', 'gelf', 'observability', 'logging'],
58
57
  documentation: ['./docs/plugin.md'],
@@ -1,7 +1,127 @@
1
1
  {
2
2
  "pluginName": "observable-graylog",
3
- "version": "9.0.0",
4
3
  "events": {},
4
+ "version": "9.1.3",
5
+ "configSchema": {
6
+ "anyvaliVersion": "1.0",
7
+ "schemaVersion": "1",
8
+ "root": {
9
+ "kind": "object",
10
+ "properties": {
11
+ "host": {
12
+ "kind": "optional",
13
+ "inner": {
14
+ "kind": "string"
15
+ },
16
+ "default": "localhost"
17
+ },
18
+ "port": {
19
+ "kind": "optional",
20
+ "inner": {
21
+ "kind": "int32",
22
+ "min": 1,
23
+ "max": 65535
24
+ },
25
+ "default": 12201
26
+ },
27
+ "protocol": {
28
+ "kind": "optional",
29
+ "inner": {
30
+ "kind": "enum",
31
+ "values": [
32
+ "udp",
33
+ "tcp",
34
+ "http"
35
+ ]
36
+ },
37
+ "default": "udp"
38
+ },
39
+ "httpEndpoint": {
40
+ "kind": "optional",
41
+ "inner": {
42
+ "kind": "string",
43
+ "format": "url"
44
+ }
45
+ },
46
+ "facility": {
47
+ "kind": "optional",
48
+ "inner": {
49
+ "kind": "string"
50
+ },
51
+ "default": "bsb"
52
+ },
53
+ "additionalFields": {
54
+ "kind": "optional",
55
+ "inner": {
56
+ "kind": "record",
57
+ "valueSchema": {
58
+ "kind": "union",
59
+ "variants": [
60
+ {
61
+ "kind": "string"
62
+ },
63
+ {
64
+ "kind": "number"
65
+ },
66
+ {
67
+ "kind": "bool"
68
+ }
69
+ ]
70
+ }
71
+ },
72
+ "default": {}
73
+ },
74
+ "compress": {
75
+ "kind": "optional",
76
+ "inner": {
77
+ "kind": "bool"
78
+ },
79
+ "default": true
80
+ },
81
+ "levels": {
82
+ "kind": "object",
83
+ "properties": {
84
+ "debug": {
85
+ "kind": "optional",
86
+ "inner": {
87
+ "kind": "bool"
88
+ },
89
+ "default": true
90
+ },
91
+ "info": {
92
+ "kind": "optional",
93
+ "inner": {
94
+ "kind": "bool"
95
+ },
96
+ "default": true
97
+ },
98
+ "warn": {
99
+ "kind": "optional",
100
+ "inner": {
101
+ "kind": "bool"
102
+ },
103
+ "default": true
104
+ },
105
+ "error": {
106
+ "kind": "optional",
107
+ "inner": {
108
+ "kind": "bool"
109
+ },
110
+ "default": true
111
+ }
112
+ },
113
+ "required": [],
114
+ "unknownKeys": "strip"
115
+ }
116
+ },
117
+ "required": [
118
+ "levels"
119
+ ],
120
+ "unknownKeys": "strip"
121
+ },
122
+ "definitions": {},
123
+ "extensions": {}
124
+ },
5
125
  "pluginType": "observable",
6
126
  "capabilities": {
7
127
  "logging": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "observable-graylog",
3
3
  "name": "observable-graylog",
4
- "version": "9.0.0",
4
+ "version": "9.1.3",
5
5
  "description": "Graylog GELF observable plugin for centralized log ingestion",
6
6
  "category": "observable",
7
7
  "tags": [
@@ -14,5 +14,131 @@
14
14
  "./docs/plugin.md"
15
15
  ],
16
16
  "dependencies": [],
17
- "image": "./observable-graylog.png"
17
+ "author": {
18
+ "name": "BetterCorp (PTY) Ltd",
19
+ "email": "ninja@bettercorp.dev",
20
+ "url": "https://bettercorp.dev/"
21
+ },
22
+ "license": "(AGPL-3.0-only OR Commercial)",
23
+ "image": "./observable-graylog.png",
24
+ "configSchema": {
25
+ "anyvaliVersion": "1.0",
26
+ "schemaVersion": "1",
27
+ "root": {
28
+ "kind": "object",
29
+ "properties": {
30
+ "host": {
31
+ "kind": "optional",
32
+ "inner": {
33
+ "kind": "string"
34
+ },
35
+ "default": "localhost"
36
+ },
37
+ "port": {
38
+ "kind": "optional",
39
+ "inner": {
40
+ "kind": "int32",
41
+ "min": 1,
42
+ "max": 65535
43
+ },
44
+ "default": 12201
45
+ },
46
+ "protocol": {
47
+ "kind": "optional",
48
+ "inner": {
49
+ "kind": "enum",
50
+ "values": [
51
+ "udp",
52
+ "tcp",
53
+ "http"
54
+ ]
55
+ },
56
+ "default": "udp"
57
+ },
58
+ "httpEndpoint": {
59
+ "kind": "optional",
60
+ "inner": {
61
+ "kind": "string",
62
+ "format": "url"
63
+ }
64
+ },
65
+ "facility": {
66
+ "kind": "optional",
67
+ "inner": {
68
+ "kind": "string"
69
+ },
70
+ "default": "bsb"
71
+ },
72
+ "additionalFields": {
73
+ "kind": "optional",
74
+ "inner": {
75
+ "kind": "record",
76
+ "valueSchema": {
77
+ "kind": "union",
78
+ "variants": [
79
+ {
80
+ "kind": "string"
81
+ },
82
+ {
83
+ "kind": "number"
84
+ },
85
+ {
86
+ "kind": "bool"
87
+ }
88
+ ]
89
+ }
90
+ },
91
+ "default": {}
92
+ },
93
+ "compress": {
94
+ "kind": "optional",
95
+ "inner": {
96
+ "kind": "bool"
97
+ },
98
+ "default": true
99
+ },
100
+ "levels": {
101
+ "kind": "object",
102
+ "properties": {
103
+ "debug": {
104
+ "kind": "optional",
105
+ "inner": {
106
+ "kind": "bool"
107
+ },
108
+ "default": true
109
+ },
110
+ "info": {
111
+ "kind": "optional",
112
+ "inner": {
113
+ "kind": "bool"
114
+ },
115
+ "default": true
116
+ },
117
+ "warn": {
118
+ "kind": "optional",
119
+ "inner": {
120
+ "kind": "bool"
121
+ },
122
+ "default": true
123
+ },
124
+ "error": {
125
+ "kind": "optional",
126
+ "inner": {
127
+ "kind": "bool"
128
+ },
129
+ "default": true
130
+ }
131
+ },
132
+ "required": [],
133
+ "unknownKeys": "strip"
134
+ }
135
+ },
136
+ "required": [
137
+ "levels"
138
+ ],
139
+ "unknownKeys": "strip"
140
+ },
141
+ "definitions": {},
142
+ "extensions": {}
143
+ }
18
144
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bsb/observable-graylog",
3
- "version": "9.1.2",
3
+ "version": "9.1.3",
4
4
  "type": "module",
5
5
  "license": "(AGPL-3.0-only OR Commercial)",
6
6
  "author": {
@@ -38,15 +38,15 @@
38
38
  "prepublishOnly": "npm run build"
39
39
  },
40
40
  "peerDependencies": {
41
- "@bsb/base": "^9.0.0"
41
+ "@bsb/base": "^9.1.6"
42
42
  },
43
43
  "dependencies": {
44
44
  "@anyvali/js": "^0.2.0",
45
45
  "gelf-pro": "^1.3.2"
46
46
  },
47
47
  "devDependencies": {
48
- "@bsb/base": "^9.0.0",
49
- "@types/node": "^25.0.0",
48
+ "@bsb/base": "^9.1.6",
49
+ "@types/node": "^25.6.0",
50
50
  "mocha": "^11.0.0",
51
51
  "typescript": "^5.9.0"
52
52
  },