Uses Consul API for Elasticsearch discovery
discovery:
type: consul
consul:
service-names: ["CONSUL_SERVICE_NAME1", "CONSUL_SERVICE_NAME2"]
tag: OPTIONAL_TAG_TO_FILTER_NODES
local-ws-port: OPTIONAL_TO_SPECIFY_LOCAL_HTTP_API_PORT_FOR_CONSUL_DEFAULT_IS_8500
This plugin is based on https://github.com/grantr/elasticsearch-srv-discovery and modified to be based on consul API calls instead of DNS records.