X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/74e00583c114a2c0eb007cbec4cc90dad5453cdd..55fc22bb3b3c7adfd60c2c4865e52d71c7de3572:/cookbooks/logstash/templates/default/expire.erb diff --git a/cookbooks/logstash/templates/default/expire.erb b/cookbooks/logstash/templates/default/expire.erb index fcfd85af5..582351933 100644 --- a/cookbooks/logstash/templates/default/expire.erb +++ b/cookbooks/logstash/templates/default/expire.erb @@ -2,6 +2,6 @@ # DO NOT EDIT - This file is being maintained by Chef -D=$(date --date="4 days ago" +"%Y.%m.%d") +D=$(date --date="3 days ago" +"%Y.%m.%d") -curl -XDELETE "http://localhost:9200/logstash-${D}" +curl -s -XDELETE "http://localhost:9200/logstash-${D}"