script to query all cloudstack instances and store the result in Elasticsearch