mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-28 19:28:50 +00:00
elk log files need housekeeping
This commit is contained in:
parent
c7516ae1f8
commit
e23eab4897
1 changed files with 3 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
# T-Pot #
|
# T-Pot #
|
||||||
# ELK upstart script #
|
# ELK upstart script #
|
||||||
# #
|
# #
|
||||||
# v16.03.4 by mo, DTAG, 2016-03-04 #
|
# v16.03.5 by mo, DTAG, 2016-03-10 #
|
||||||
########################################################
|
########################################################
|
||||||
|
|
||||||
description "ELK"
|
description "ELK"
|
||||||
|
@ -17,6 +17,8 @@ pre-start script
|
||||||
then docker rm -v $myCID;
|
then docker rm -v $myCID;
|
||||||
fi
|
fi
|
||||||
# ELK data will be kept for <= 90 days, check /etc/crontab for curator modification
|
# 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
|
end script
|
||||||
script
|
script
|
||||||
/usr/bin/docker run --name=elk -v /data:/data -p 127.0.0.1:64296:8080 --rm=true dtagdevsec/elk:latest1603
|
/usr/bin/docker run --name=elk -v /data:/data -p 127.0.0.1:64296:8080 --rm=true dtagdevsec/elk:latest1603
|
||||||
|
|
Loading…
Reference in a new issue