`

load balancing across multiple elasticsearch-kibana负载

阅读更多

To use a local client node to load balance Kibana requests:

  1. Install Elasticsearch on the same machine as Kibana.
  2. Configure the node as a client node. In elasticsearch.yml, set both node.data and node.masterto false:

    # 3. You want this node to be neither master nor data node, but
    #    to act as a "search load balancer" (fetching data from nodes,
    #    aggregating results, etc.)
    #
    node.master: false
    node.data: false
  3. Configure the client node to join your Elasticsearch cluster. In elasticsearch.yml, set thecluster.name to the name of your cluster.

    cluster.name: "my_cluster"
  4. Make sure Kibana is configured to point to your local client node. In kibana.yml, theelasticsearch_url should be set to localhost:9200.

    # The Elasticsearch instance to use for all your queries.
    elasticsearch_url: "http://localhost:9200"

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics