From 76d4a8a72e72c46cca38f2f41b48c07a246c5341 Mon Sep 17 00:00:00 2001 From: jmac Date: Thu, 21 Feb 2019 20:03:49 +0000 Subject: Add missing filebeat sidecars for Pomba Change-Id: I5f2cf1d74d55df0002af75367042eaf795ea2e8c Signed-off-by: jmac Issue-ID: LOG-852 --- kubernetes/pomba/resources/config/log/filebeat/filebeat.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'kubernetes/pomba/resources/config/log') diff --git a/kubernetes/pomba/resources/config/log/filebeat/filebeat.yml b/kubernetes/pomba/resources/config/log/filebeat/filebeat.yml index b0d4690754..768b1c59dc 100644 --- a/kubernetes/pomba/resources/config/log/filebeat/filebeat.yml +++ b/kubernetes/pomba/resources/config/log/filebeat/filebeat.yml @@ -3,9 +3,15 @@ filebeat.prospectors: - input_type: log #This is the canolical path as mentioned in logback.xml, *.* means it will monitor all files in the directory. paths: + - /opt/app/logs/EELF/*/*.log + - /opt/app/logs/EELF/*.log - /var/log/onap/*/*/*/*.log - /var/log/onap/*/*/*.log - /var/log/onap/*/*.log + - /var/log/onap/*.log + - /logs/*/*.log + - /logs/*.log + #Files older than this should be ignored.In our case it will be 48 hours i.e. 2 days. It is a helping flag for clean_inactive ignore_older: 48h # Remove the registry entry for a file that is more than the specified time. In our case it will be 96 hours, i.e. 4 days. It will help to keep registry records with in limit -- cgit 1.2.3-korg