X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/74e00583c114a2c0eb007cbec4cc90dad5453cdd..3bcb8f0843b7798bb02f7cf5652ec200293f0264:/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}"