From 494d794de0c07cdbf4350d0f090040d4b8edc464 Mon Sep 17 00:00:00 2001 From: "michal.banka" Date: Thu, 21 Mar 2019 10:17:59 +0100 Subject: Searching for clamp logs directory unified Change-Id: I2e6c2701f0a23c54f6cb30315866ac84bf793e0e Issue-ID: CLAMP-332 Signed-off-by: michal.banka --- kubernetes/clamp/resources/config/log/filebeat/filebeat.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/kubernetes/clamp/resources/config/log/filebeat/filebeat.yml b/kubernetes/clamp/resources/config/log/filebeat/filebeat.yml index 0c1f3bccb2..dab2e44f5e 100644 --- a/kubernetes/clamp/resources/config/log/filebeat/filebeat.yml +++ b/kubernetes/clamp/resources/config/log/filebeat/filebeat.yml @@ -16,15 +16,14 @@ 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: - - /var/log/ONAP/*/*/*/*.log - - /var/log/ONAP/*/*/*.log - - /var/log/ONAP/*/*.log + - /var/log/onap/*/*/*/*.log + - /var/log/onap/*/*/*.log + - /var/log/onap/*/*.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 clean_inactive: 96h - # Name of the registry file. If a relative path is used, it is considered relative to the # data path. Else full qualified file name. #filebeat.registry_file: ${path.data}/registry -- cgit 1.2.3-korg