mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-03 23:26:58 +02:00
Update to 2025-07-04 09:00
This commit is contained in:
@@ -214,3 +214,6 @@
|
||||
|
||||
- include_tasks: filebeat.yml
|
||||
tags: always
|
||||
|
||||
- include_tasks: vector.yml
|
||||
tags: always
|
||||
|
5
roles/zimbra/tasks/vector.yml
Normal file
5
roles/zimbra/tasks/vector.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
|
||||
- name: Deploy vector configuration
|
||||
template: src=vector.yml dest=/etc/vector/conf.d/zimbra.yml
|
||||
tags: log,zcs,vector
|
14
roles/zimbra/templates/vector.yml
Normal file
14
roles/zimbra/templates/vector.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
|
||||
sources:
|
||||
in_logs_zimbra:
|
||||
type: file
|
||||
include:
|
||||
- /opt/zimbra/log/*.log
|
||||
|
||||
transforms:
|
||||
format_logs_zimbra:
|
||||
type: remap
|
||||
inputs: ["in_logs_zimbra"]
|
||||
source: |
|
||||
# Nothing to do
|
Reference in New Issue
Block a user