mirror of
https://github.com/status-im/infra-nimbus.git
synced 2025-02-21 18:08:08 +00:00
logclean-job: reduce kept ES indices to 20
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
86c637c224
commit
d31094d85c
@ -3,7 +3,7 @@ logclean_es_host: ~
|
|||||||
logclean_es_port: ~
|
logclean_es_port: ~
|
||||||
logclean_script_path: '/usr/local/bin/logclean'
|
logclean_script_path: '/usr/local/bin/logclean'
|
||||||
logclean_index_regex: 'logstash-*'
|
logclean_index_regex: 'logstash-*'
|
||||||
logclean_keep_indices: 90
|
logclean_keep_indices: 20
|
||||||
logclean_service_path: '/lib/systemd/system'
|
logclean_service_path: '/lib/systemd/system'
|
||||||
logclean_service_name: 'logclean-job'
|
logclean_service_name: 'logclean-job'
|
||||||
logclean_service_desc: 'Job for cleaning ElasticSearch cluster periodically.'
|
logclean_service_desc: 'Job for cleaning ElasticSearch cluster periodically.'
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
- name: 'Log Clean | Verify we keep a minimum of 60 indices'
|
- name: 'Log Clean | Verify we keep a minimum of 20 indices'
|
||||||
assert:
|
assert:
|
||||||
quiet: true
|
quiet: true
|
||||||
that:
|
that:
|
||||||
- logclean_keep_indices > 60
|
- logclean_keep_indices >= 20
|
||||||
|
|
||||||
- name: 'Log Clean | Create logclean script'
|
- name: 'Log Clean | Create logclean script'
|
||||||
template:
|
template:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user