ass priority to syslog data model

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2022-01-31 08:44:48 +01:00
parent d7d73d86df
commit 34671bac50
2 changed files with 8 additions and 0 deletions

View File

@@ -6,3 +6,4 @@ set system.@system[-1].log_ip={{ s(log.host) }}
set system.@system[-1].log_port={{ s(log.port) }}
set system.@system[-1].log_proto={{ s(log.proto) }}
set system.@system[-1].log_size={{ s(log.size) }}
set system.@system[-1].log_priority={{ s(log.priority) }}

View File

@@ -33,3 +33,10 @@ properties:
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