Shift elasticsearch retention to 10 days.

We were keeping 14 days of elasticsearch indexes. Unfortunately we are
running out of available disk space on our elasticsearch nodes and do
not have quota to add more volumes to increase available disk. Shift to
10 days of retention while we sort out how to get more disk.

Change-Id: I011d4f16f9a74e2eb7665ef66d2193e5fda476b7
This commit is contained in:
Clark Boylan 2014-06-16 13:18:11 -07:00
parent 466ec42a00
commit 411844b50a
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class openstack_project::elasticsearch_node (
user => 'root',
hour => '2',
minute => '0',
command => 'curl -sS -XDELETE "http://localhost:9200/logstash-`date -d \'2 weeks ago\' +\%Y.\%m.\%d`/" > /dev/null',
command => 'curl -sS -XDELETE "http://localhost:9200/logstash-`date -d \'10 days ago\' +\%Y.\%m.\%d`/" > /dev/null',
environment => 'PATH=/usr/bin:/bin:/usr/sbin:/sbin',
}