From 45fea94748dea17f3f0a6939a82b4ce197422130 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sun, 16 May 2021 23:27:03 +0300 Subject: [PATCH] Pretend journalbeat is filebeat. Make it easier to check all of the logs in Kibana at once. Same for dashboards created by the filebeat setup. --- journalbeat/journalbeat.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/journalbeat/journalbeat.yml b/journalbeat/journalbeat.yml index 75526e0..d8d0adf 100644 --- a/journalbeat/journalbeat.yml +++ b/journalbeat/journalbeat.yml @@ -2,6 +2,11 @@ output.elasticsearch: hosts: - https://elasticsearch.shore.co.il:443 + index: &index 'filebeat-%{[agent.version]}-%{+yyyy.MM.dd}' + +setup.template: + name: 'filebeat-%{[agent.version]}' + pattern: *index logging: level: warning -- GitLab