Files
ols-ucentral-schema/schema/service.log.yml
John Crispin 34671bac50 ass priority to syslog data model
Signed-off-by: John Crispin <john@phrozen.org>
2022-01-31 08:44:48 +01:00

43 lines
1.0 KiB
YAML

description:
This section can be used to configure remote syslog support.
type: object
properties:
host:
description:
IP address of a syslog server to which the log messages should be
sent in addition to the local destination.
type: string
format: uc-host
examples:
- 192.168.1.10
port:
description:
Port number of the remote syslog server specified with log_ip.
type: integer
maximum: 65535
minimum: 100
examples:
- 2000
proto:
description:
Sets the protocol to use for the connection, either tcp or udp.
type: string
enum:
- tcp
- udp
default: udp
size:
description:
Size of the file based log buffer in KiB. This value is used as the fallback
value for log_buffer_size if the latter is not specified.
type: integer
minimum: 32
default: 1000
priority:
description:
Filter messages by their log priority. the value maps directly to the 0-7
range used by syslog.
type: integer
minimum: 0
default: 7