From 6035fc31b9cf19d95dc911b2fcb624660b0d95f3 Mon Sep 17 00:00:00 2001 From: "marcio.fernandes" <2+marcio.fernandes@noreply.localhost> Date: Sat, 25 Jul 2026 23:54:32 +0000 Subject: [PATCH 1/5] Update roles/vector/templates/vector.yaml.j2 --- roles/vector/templates/vector.yaml.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/vector/templates/vector.yaml.j2 b/roles/vector/templates/vector.yaml.j2 index 6dfc1ba..7169ad2 100644 --- a/roles/vector/templates/vector.yaml.j2 +++ b/roles/vector/templates/vector.yaml.j2 @@ -28,6 +28,7 @@ sinks: enabled: false encoding: codec: json + dangerously_allow_unconfined_template_resolution: true labels: {% raw %} host: "{{ .host }}" From 39599e0e2b99d53dbb5b875b93c6d991881d70a2 Mon Sep 17 00:00:00 2001 From: "marcio.fernandes" <2+marcio.fernandes@noreply.localhost> Date: Sun, 26 Jul 2026 00:01:39 +0000 Subject: [PATCH 2/5] Update roles/vector/templates/vector.yaml.j2 --- roles/vector/templates/vector.yaml.j2 | 1 - 1 file changed, 1 deletion(-) diff --git a/roles/vector/templates/vector.yaml.j2 b/roles/vector/templates/vector.yaml.j2 index 7169ad2..71f8842 100644 --- a/roles/vector/templates/vector.yaml.j2 +++ b/roles/vector/templates/vector.yaml.j2 @@ -33,7 +33,6 @@ sinks: {% raw %} host: "{{ .host }}" source: "{{ .source }}" - unit: "{{ .unit }}" process: "{{ .process }}" priority: "{{ .priority }}" {% endraw %} From 0afd7b66cee37452834737d6957ce4b9374a6b02 Mon Sep 17 00:00:00 2001 From: "marcio.fernandes" <2+marcio.fernandes@noreply.localhost> Date: Sun, 26 Jul 2026 01:16:43 +0000 Subject: [PATCH 3/5] Update roles/vector/templates/vector.yaml.j2 --- roles/vector/templates/vector.yaml.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/vector/templates/vector.yaml.j2 b/roles/vector/templates/vector.yaml.j2 index 71f8842..7b144d1 100644 --- a/roles/vector/templates/vector.yaml.j2 +++ b/roles/vector/templates/vector.yaml.j2 @@ -31,6 +31,7 @@ sinks: dangerously_allow_unconfined_template_resolution: true labels: {% raw %} + job: "systemd" host: "{{ .host }}" source: "{{ .source }}" process: "{{ .process }}" From b7a4322bd70037697d7dad8afac7127ffa21c333 Mon Sep 17 00:00:00 2001 From: "marcio.fernandes" <2+marcio.fernandes@noreply.localhost> Date: Sun, 26 Jul 2026 01:23:40 +0000 Subject: [PATCH 4/5] Update roles/vector/templates/vector.yaml.j2 --- roles/vector/templates/vector.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/vector/templates/vector.yaml.j2 b/roles/vector/templates/vector.yaml.j2 index 7b144d1..975a5e0 100644 --- a/roles/vector/templates/vector.yaml.j2 +++ b/roles/vector/templates/vector.yaml.j2 @@ -31,7 +31,7 @@ sinks: dangerously_allow_unconfined_template_resolution: true labels: {% raw %} - job: "systemd" + job: "journald" host: "{{ .host }}" source: "{{ .source }}" process: "{{ .process }}" From a4de74350d3ad5817a4e0323dd7923a90eb8a785 Mon Sep 17 00:00:00 2001 From: "marcio.fernandes" <2+marcio.fernandes@noreply.localhost> Date: Sun, 26 Jul 2026 01:30:16 +0000 Subject: [PATCH 5/5] Update roles/vector/templates/vector.yaml.j2 --- roles/vector/templates/vector.yaml.j2 | 3 --- 1 file changed, 3 deletions(-) diff --git a/roles/vector/templates/vector.yaml.j2 b/roles/vector/templates/vector.yaml.j2 index 975a5e0..d99af0d 100644 --- a/roles/vector/templates/vector.yaml.j2 +++ b/roles/vector/templates/vector.yaml.j2 @@ -8,8 +8,6 @@ transforms: inputs: - journald source: | - .source = "journald" - .unit = ._SYSTEMD_UNIT .process = ._COMM .priority = .PRIORITY .host = "{{ vector_config.hostname }}" @@ -33,7 +31,6 @@ sinks: {% raw %} job: "journald" host: "{{ .host }}" - source: "{{ .source }}" process: "{{ .process }}" priority: "{{ .priority }}" {% endraw %}