X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/74e00583c114a2c0eb007cbec4cc90dad5453cdd..1bc8da5f3a3bfd6c3f0ba374f12d489d13831460:/cookbooks/logstash/templates/default/expire.erb?ds=sidebyside 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}"