52 lines
1.2 KiB
YAML
52 lines
1.2 KiB
YAML
---
|
|
version: 1.1
|
|
|
|
remotes:
|
|
description: Concentrate journal messages on one host
|
|
type: domainname
|
|
multi: true
|
|
hidden: true
|
|
provider: Journald
|
|
|
|
"remote_{{ suffix }}":
|
|
description: 'Account for {{ suffix }}'
|
|
dynamic:
|
|
variable: accounts.remotes
|
|
hidden: true
|
|
|
|
services:
|
|
description: 'Log from this service to exclude for {{ suffix }}'
|
|
multi: true
|
|
unique: false
|
|
mandatory: false
|
|
provider: Journald:service
|
|
|
|
functions:
|
|
description: >-
|
|
Function use to compare message (if not defined, exlude same message)
|
|
for {{ suffix }}
|
|
multi: true
|
|
mandatory: false
|
|
empty: false
|
|
unique: false
|
|
provider: Journald:function
|
|
|
|
messages:
|
|
description: 'Message to exclude for {{ suffix }}'
|
|
multi: true
|
|
unique: false
|
|
mandatory: false
|
|
provider: Journald:message
|
|
|
|
vector_conditions:
|
|
default:
|
|
jinja: >-
|
|
{{ messages | calc_vector_conditions(services, functions) }}
|
|
params:
|
|
messages:
|
|
variable: accounts.remote_{{ suffix }}.messages
|
|
services:
|
|
variable: accounts.remote_{{ suffix }}.services
|
|
functions:
|
|
variable: accounts.remote_{{ suffix }}.functions
|
|
hidden: true
|