Installed ELK on AWS ubuntu 14.04. ELK versions : Elasticsearch 2.2.x, Logstash 2.2.x, and Kibana 4.4.x. While checking the status elasticsearch and logstash are running, but kibana is not running.
I will share the result while running kibana...
Last lines of sudo /opt/kibana/bin/kibana
log [09:51:21.184] [info][listening] Server running at http://localhost:5601
log [09:51:51.119] [error][status][plugin:elasticsearch] Status changed from yellow to red - Request Timeout after 30000ms
./bin/kibana
fs.js:565
fs.write = function(fd, buffer, offset, length, position, callback) {
^
Error: EACCES, permission denied '/opt/kibana/optimize/.babelcache.json'
at Error (native)
at Object.fs.openSync (fs.js:500:18)
at Object.fs.writeFileSync (fs.js:1099:15)
at save (/opt/kibana/node_modules/babel-core/lib/api/register/cache.js:35:19)
at process._tickDomainCallback (node.js:381:11)
at Function.Module.runMain (module.js:503:11)
at startup (node.js:129:16)
at node.js:814:3
Log information
tail kibana.stdout
gives the information
{"type":"response","@timestamp":"2016-02-24T11:07:14+00:00","tags":[],"pid":1123,"method":"post","statusCode":200,"req":{"url":"/elasticsearch/logstash-/_field_stats?level=indices","method":"post","headers":{"connection":"upgrade","host":"52.72.247.248","content-length":"178","accept":"application/json, text/plain, /","origin":"http://52.72.247.248","kbn-version":"4.4.1","user-agent":"Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36","content-type":"application/json;charset=UTF-8","referer":"http://52.72.247.248/app/kibana?","accept-encoding":"gzip, deflate","accept-language":"en-US,en;q=0.8"},"remoteAddress":"172.30.0.28","userAgent":"172.30.0.28","referer":"http://52.72.247.248/app/kibana?"},"res":{"statusCode":200,"responseTime":109,"contentLength":9},"message":"POST /elasticsearch/logstash-/_field_stats?level=indices 200 109ms - 9.0B"}
{"type":"response","@timestamp":"2016-02-24T11:07:15+00:00","tags":[],"pid":1123,"method":"post","statusCode":200,"req":{"url":"/elasticsearch/_msearch?timeout=0&ignore_unavailable=true&preference=1456301293544","method":"post","headers":{"connection":
When I start kibana, it will be running for sometime. But within seconds status will change to not running. I don't understand what is happening behind. Previously logserver was working perfectly, but once I stop and start the aws instance this issue came.
Please help me to solve.
Thanks