From e23eab48974ee5444b3fe2821a43eb3dffbe3143 Mon Sep 17 00:00:00 2001 From: t3chn0m4g3 Date: Thu, 10 Mar 2016 15:36:16 +0100 Subject: [PATCH] elk log files need housekeeping --- installer/data/upstart/elk.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/installer/data/upstart/elk.conf b/installer/data/upstart/elk.conf index ac57b6c0..041f2f97 100644 --- a/installer/data/upstart/elk.conf +++ b/installer/data/upstart/elk.conf @@ -2,7 +2,7 @@ # T-Pot # # ELK upstart script # # # -# v16.03.4 by mo, DTAG, 2016-03-04 # +# v16.03.5 by mo, DTAG, 2016-03-10 # ######################################################## description "ELK" @@ -17,6 +17,8 @@ pre-start script then docker rm -v $myCID; fi # ELK data will be kept for <= 90 days, check /etc/crontab for curator modification + # ELK daemon log files will be removed + rm -rf /data/elk/log/elasticsearch.log.* || true end script script /usr/bin/docker run --name=elk -v /data:/data -p 127.0.0.1:64296:8080 --rm=true dtagdevsec/elk:latest1603