dataset/seed/journald_remote/extras/accounts/00_accounts.yml

53 lines
1.2 KiB
YAML
Raw Permalink Normal View History

2024-10-01 13:18:45 +02:00
---
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