]> git.openstreetmap.org Git - chef.git/blob - cookbooks/logstash/templates/default/expire.erb
Convert megaraid disk sizes to 1000 based units
[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}"