亲,只收二进制

kibana basic的用法

Kibana | 作者 ridethewind | 发布于2019年06月07日 | 阅读数:2223

想要通过basic的方式来使用kibana,发现如下问题:
 
配置如下:
server.port: 5601
server.host: "xx.xx.xx.xx"
elasticsearch.hosts: ["https://xx.xx.xx.xx:xxxx"]
elasticsearch.username: "xxxx"
elasticsearch.password: "xxxx"
#server.ssl.enabled: false
elasticsearch.ssl.verificationMode: none
elasticsearch.customHeaders: {"customHeader":"Zxxxxxxxx"}
logging.dest: /opt/install/kibana.log
elasticsearch.healthCheck.delay: 600000

 
1. basic方式登录正常
2. devTools可以正常使用(通过自定义Header 构造Basic标识信息来实现)
3. create index partten 报500异常
 

20190607-163644(eSpace).png

 
如何能使create index partten 正常使用?
 
 
日志如下:
{"type":"log","@timestamp":"2019-06-07T07:28:24Z","tags":["warning","elasticsearch","data"],"pid":24112,"message":"Unable to revive connection: https://xx.xx.xx.xx:xxxx/"}
{"type":"log","@timestamp":"2019-06-07T07:28:24Z","tags":["warning","elasticsearch","data"],"pid":24112,"message":"No living connections"}
{"type":"error","@timestamp":"2019-06-07T07:28:24Z","tags":[],"pid":24112,"level":"error","error":{"message":"No Living connections","name":"Error","stack":"Error: No Living connections\n at sendReqWithConnection (/opt/install/kibana-6.7.1-linux-x86_64/node_modules/elasticsearch/src/lib/transport.js:226:15)\n at next (/opt/install/kibana-6.7.1-linux-x86_64/node_modules/elasticsearch/src/lib/connection_pool.js:214:7)\n at process._tickCallback (internal/process/next_tick.js:61:11)"},"url":{"protocol":null,"slashes":null,"auth":null,"host":null,"port":null,"hostname":null,"hash":null,"search":"?ignore_unavailable=true","query":{"ignore_unavailable":"true"},"pathname":"/elasticsearch/a*/_search","path":"/elasticsearch/a*/_search?ignore_unavailable=true","href":"/elasticsearch/a*/_search?ignore_unavailable=true"},"message":"No Living connections"}
{"type":"response","@timestamp":"2019-06-07T07:28:24Z","tags":[],"pid":24112,"method":"post","statusCode":500,"req":{"url":"/elasticsearch/a*/_search?ignore_unavailable=true","method":"post","headers":{"host":"xx.xx.xx.xx:xxxx","connection":"keep-alive","content-length":"69","accept":"application/json, text/plain, */*","origin":"http://xx.xx.xx.xx:xxxx","kbn-version":"6.7.1","user-agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36","content-type":"application/json","referer":"http://xx.xx.xx.xx:xxxx/app/kibana","accept-encoding":"gzip, deflate","accept-language":"zh,zh-CN;q=0.9,en;q=0.8"},"remoteAddress":"xx.xx.xx.xx","userAgent":"xx.xx.xx.xx","referer":"http://xx.xx.xx.xx:xxxx/app/kibana"},"res":{"statusCode":500,"responseTime":10,"contentLength":9},"message":"POST /elasticsearch/a*/_search?ignore_unavailable=true 500 10ms - 9.0B"}
已邀请:

zqc0512 - andy zhou

赞同来自:

木有连接上ES呢……

Reilee - 在日devops

赞同来自:

奇怪,没连上 ES 怎么能登录的?

要回复问题请先登录注册