To delete indexes older than X days:

POST haproxy/_delete_by_query
{
	"query": {
		"range": {
			"ISODATE": {
				"lt": "now-3d"
			}
		}
	}
}