]> git.openstreetmap.org Git - chef.git/blob - cookbooks/logstash/templates/default/expire.erb
fcfd85af53a3252678e3bbd03f8199ec9c2aadb8
[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="4 days ago" +"%Y.%m.%d")
6
7 curl -XDELETE "http://localhost:9200/logstash-${D}"