Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 562 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 562 Bytes

Consul Based Discovery Plugin for Elasticsearch

Uses Consul API for Elasticsearch discovery

Configuration

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.