2015-11-06 31 views
0

Kibana无法从elasticsearch加载数据。我可以在elasticsearch中看到下面的日志。我正在使用elasticsearch版本1.4.2。这与负载有关吗?任何人都可以帮我吗?弹性搜索:[Oddball]观察者:来自集群服务的超时通知。超时设置[1分],自启动以来的时间[1分]

[2015年11月5日22:39:58505] [DEBUG] [action.bulk] [穿着或行为古怪]观察者:从集群服务超时通知。超时设置[1分],因为开始[1分]

回答

0

默认运行在http://localhost:9200 弹性搜索的时候请确保您有正确的URL在kibana.ymal

<pre> 
    # Kibana is served by a back end server. This controls which port to use. 
    port: 5601 

    # The host to bind the server to. 
    #host: example.com 

    # The Elastic search instance to use for all your queries. 
    elasticsearch_url: "http://localhost:9200" 
</pre> 

ASLO弹性搜索配置elasticsearch.yaml提供集群名称和http.cors.allow-起源。

<pre> 
    # Cluster name identifies your cluster for auto-discovery. If you're running 
    # multiple clusters on the same network, make sure you're using unique names. 
    # 
    cluster.name: elasticsearch 

    http.cors.allow-origin: "/.*/" 
</pre> 
+0

嗨Jitendra解决这个问题,非常感谢您的回复。群集名称是唯一的。 Logstash。 kibana和elasticsearch从近一年开始运行,并且由于上述错误而从最近几天立即停止。请让我知道你是否可以帮助我 –

0

我可以通过设置为Elasticsearch一个新的节点,并通过设置副本清除未分配的碎片为0