From abbd44d311d9308832f49b5e0cca52a75e27caf4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Th=C3=A9o=20-=20Le=20Filament?= <theo@le-filament.com>
Date: Mon, 15 May 2023 11:15:59 +0200
Subject: [PATCH] change: logging to file instead of to syslog

---
 templates/filebeat.yml.j2 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/templates/filebeat.yml.j2 b/templates/filebeat.yml.j2
index 02c315e..bb86d37 100644
--- a/templates/filebeat.yml.j2
+++ b/templates/filebeat.yml.j2
@@ -4,6 +4,11 @@ filebeat.config.modules:
   reload.enabled: false
 
 # ================================== General ===================================
+logging:
+  level: info
+  to_files: true
+  to_syslog: false
+
 fields_under_root: true
 
 {% if inventory_hostname in groups.docker | default([]) %}
-- 
GitLab