我正在尝试将我的Kibana实例配置为与我的nginx代理SSL /基本身份验证启用的Elasticsearch客户端进行通信。
从同一台机器运行的curl命令没有问题。
$ curl https://user:password@10.1.141.41:9200 --insecure
{
"status" : 200,
"name" : "Jeanne-Marie Beaubier",
"cluster_name" : "cluster01",
"version" : {
"number" : "1.7.2",
"build_hash" : "e43676b1385b8125d647f593f7202acbd816e8ec",
"build_timestamp" : "2015-09-14T09:49:53Z",
"build_snapshot" : false,
"lucene_version" : "4.10.4"
},
"tagline" : "You Know, for Search"
}
Kibana配置:
$ cat config/kibana.yml
server.port: 5601
server.host: 0.0.0.0
elasticsearch.url: "https://10.1.141.41:9200"
elasticsearch.preserveHost: true
elasticsearch.username: user
elasticsearch.password: password
elasticsearch.ssl.verify: false
启动Kibana时出错
$ bin/kibana -c config/kibana.yml | grep error
log [15:59:40.694] [error][status][plugin:elasticsearch] Status changed from yellow to red - Authorization Exception
环境:
Kibana 4.2.0
ElasticSearch 1.7.2
No searchGuard
No Shield
答案 0 :(得分:1)
Kibana 4.2.0支持Elasticsearch 2.0或更高版本。