Added option for using elasticsearch_http output