aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichal.banka <michal.banka@nokia.com>2019-03-21 10:17:59 +0100
committermichal.banka <michal.banka@nokia.com>2019-03-21 11:17:57 +0100
commit494d794de0c07cdbf4350d0f090040d4b8edc464 (patch)
tree3d6e5aefece651964851d67bbafc2ac089841beb
parent655708d5dba4b1c970fa7c1086914388339fbbb6 (diff)
Searching for clamp logs directory unified
Change-Id: I2e6c2701f0a23c54f6cb30315866ac84bf793e0e Issue-ID: CLAMP-332 Signed-off-by: michal.banka <michal.banka@nokia.com>
-rw-r--r--kubernetes/clamp/resources/config/log/filebeat/filebeat.yml7
1 files 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