]> git.openstreetmap.org Git - chef.git/blob - cookbooks/logstash/templates/default/expire.erb
Make sure we use the correct gem and bundler for blogs
[chef.git] / cookbooks / logstash / templates / default / expire.erb
1 #!/bin/sh
2
3 # DO NOT EDIT - This file is being maintained by Chef
4
5 D=$(date --date="3 days ago" +"%Y.%m.%d")
6
7 curl -s -XDELETE "http://localhost:9200/logstash-${D}"