Skip to content

Commit

Permalink
dash.nimbus: lower indices kept to 10
Browse files Browse the repository at this point in the history
We have bigger log volume now that we fixed the logging setup in:
#81

Signed-off-by: Jakub Sokołowski <jakub@status.im>
  • Loading branch information
jakubgs committed Feb 7, 2022
1 parent f665fcd commit fb7bde2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ansible/group_vars/dash.nimbus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ es_lb_cluster_dc: 'he-eu-hel1'
es_lb_api_port: 9200
es_lb_node_port: 9300

# Cleanup to avoid running out of space
logclean_es_host: 'localhost'
logclean_es_port: '{{ es_lb_api_port }}'
logclean_keep_indices: 10

# JVM Memory settings
es_lb_jvm_min_heap: 2g
Expand Down
4 changes: 2 additions & 2 deletions ansible/roles/logclean-job/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
- name: 'Log Clean | Verify we keep a minimum of 20 indices'
- name: 'Log Clean | Verify we keep a minimum of 10 indices'
assert:
quiet: true
that:
- logclean_keep_indices >= 20
- logclean_keep_indices >= 10

- name: 'Log Clean | Create logclean script'
template:
Expand Down

0 comments on commit fb7bde2

Please sign in to comment.