]> git.openstreetmap.org Git - chef.git/blob - cookbooks/logstash/templates/default/expire.erb
otrs: Use znuny mirror of otrs 6.0.30 release as upstream is gone
[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}"