mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-04 07:37:20 +02:00
Update to 2025-07-04 09:00
This commit is contained in:
@@ -53,3 +53,6 @@
|
||||
|
||||
- include_tasks: filebeat.yml
|
||||
tags: always
|
||||
|
||||
- include_tasks: vector.yml
|
||||
tags: always
|
||||
|
5
roles/pve/tasks/vector.yml
Normal file
5
roles/pve/tasks/vector.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
|
||||
- name: Deploy vector configuration
|
||||
template: src=vector.yml dest=/etc/vector/conf.d/pve.yml
|
||||
tags: log,pve,vector
|
16
roles/pve/templates/vector.yml
Normal file
16
roles/pve/templates/vector.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
|
||||
sources:
|
||||
in_logs_pve:
|
||||
type: file
|
||||
include:
|
||||
- /var/log/pve-firewall.log
|
||||
- /var/log/pveproxy/access.log
|
||||
- /var/log/vzdump/*
|
||||
|
||||
transforms:
|
||||
format_logs_pve:
|
||||
type: remap
|
||||
inputs: ["in_logs_pve"]
|
||||
source: |
|
||||
# Nothing to do
|
Reference in New Issue
Block a user