kibana对接elasticsearch集群中的多个节点
2016-09-23 10:49
1091 查看
https://www.elastic.co/guide/en/kibana/current/production.html#load-balancing
If you have multiple nodes in your Elasticsearch cluster, the easiest way to distribute Kibana requests across the nodes is to run an Elasticsearch client node on the same machine as Kibana. Elasticsearch
client nodes are essentially smart load balancers that are part of the cluster. They process incoming HTTP requests, redirect operations to the other nodes in the cluster as needed, and gather and return the results. For more information, see Node in
the Elasticsearch reference.
To use a local client node to load balance Kibana requests:
Install Elasticsearch on the same machine as Kibana.
Configure the node as a client node. In
set both
Configure the client node to join your Elasticsearch cluster. In
set the
the name of your cluster.
Make sure Kibana is configured to point to your local client node. In
the
be set to
Load Balancing Across Multiple Elasticsearch Nodesedit
If you have multiple nodes in your Elasticsearch cluster, the easiest way to distribute Kibana requests across the nodes is to run an Elasticsearch client node on the same machine as Kibana. Elasticsearchclient nodes are essentially smart load balancers that are part of the cluster. They process incoming HTTP requests, redirect operations to the other nodes in the cluster as needed, and gather and return the results. For more information, see Node in
the Elasticsearch reference.
To use a local client node to load balance Kibana requests:
Install Elasticsearch on the same machine as Kibana.
Configure the node as a client node. In
elasticsearch.yml,
set both
node.dataand
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
Configure the client node to join your Elasticsearch cluster. In
elasticsearch.yml,
set the
cluster.nameto
the name of your cluster.
cluster.name: "my_cluster"
Make sure Kibana is configured to point to your local client node. In
kibana.yml,
the
elasticsearch.urlshould
be set to
localhost:9200.
# The Elasticsearch instance to use for all your queries. elasticsearch.url: "http://localhost:9200"
相关文章推荐
- elasticsearch 6.0.0(多节点安装) + kibana 6.0.0集群环境搭建
- 使用 Docker 部署和迁移多节点的 ElasticSearch-Logstash-Kibana 集群
- Elasticsearch5.1集群+kibana部署
- 关于elasticsearch集群节点配置
- ELK日志框架(1):安装Elasticsearch组建单服务器多节点集群
- 部署 Kubernetes 集群日志插件 Fluentd、Elasticsearch、Kibana
- fluentd结合kibana、elasticsearch实时搜索分析hadoop集群日志
- Elasticsearch.5.4.1+kibana5.4.1+IK分词集群搭建
- Elasticsearch集群关闭节点
- Elasticsearch-ES 5.x (Head,Kibana,X-Pack) 集群的部署、配置、测试
- 集群节点Elasticsearch升级
- ElasticSearch:集群(Cluster),节点(Node),分片(Shard),Indices(索引),replicas(备份)之间关系
- elasticsearch 2.4.6 集群+kibana 4.6安装部署学习记录
- 关于elasticsearch集群节点配置
- 关于elasticsearch集群节点配置
- Elasticsearch5.2.1集群搭建,动态加入节点,并添加监控诊断插件
- Kibana安装(图文详解)(多节点的ELK集群安装在一个节点就好)
- fluentd结合kibana、elasticsearch实时搜索分析hadoop集群日志
- Elasticsearch部分节点不能发现集群(脑裂)问题处理
- elasticsearch5.0.1集群一次误删除kibana索引引发的血案