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