Fix elasticsearh bugs
Commit appspec file; try to get resource filtering to work