Kibana keep restarting

Hi ,
i am building ELK stack on Cloud as per our requirements. I was successfully able to stand up ES on cloud but having issues connecting Kibana to ES and loading Kibana as it keeps restarting . Can someone help on this

logs

 ["debug","optimize"],"pid":16498,"message":"All bundles are cached and ready to go!"}
    {"type":"log","@timestamp":"2018-09-27T01:42:44Z","tags":["plugins","debug"],"pid":16498,"plugin":{"name":"kibana","version":"kibana","config":{"@elastic/eslint-import-resolver-kibana":{"projectRoot":false}}},"message":"Initializing plugin kibana@kibana"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/node_modules/x-pack","message":"Found plugin at /usr/share/kibana/node_modules/x-pack"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/apm_oss","message":"Found plugin at /usr/share/kibana/src/core_plugins/apm_oss"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/console","message":"Found plugin at /usr/share/kibana/src/core_plugins/console"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/elasticsearch","message":"Found plugin at /usr/share/kibana/src/core_plugins/elasticsearch"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/input_control_vis","message":"Found plugin at /usr/share/kibana/src/core_plugins/input_control_vis"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/inspector_views","message":"Found plugin at /usr/share/kibana/src/core_plugins/inspector_views"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/kbn_doc_views","message":"Found plugin at /usr/share/kibana/src/core_plugins/kbn_doc_views"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/kbn_vislib_vis_types","message":"Found plugin at /usr/share/kibana/src/core_plugins/kbn_vislib_vis_types"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/kibana","message":"Found plugin at /usr/share/kibana/src/core_plugins/kibana"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/markdown_vis","message":"Found plugin at /usr/share/kibana/src/core_plugins/markdown_vis"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/metric_vis","message":"Found plugin at /usr/share/kibana/src/core_plugins/metric_vis"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/metrics","message":"Found plugin at /usr/share/kibana/src/core_plugins/metrics"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/region_map","message":"Found plugin at /usr/share/kibana/src/core_plugins/region_map"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/state_session_storage_redirect","message":"Found plugin at /usr/share/kibana/src/core_plugins/state_session_storage_redirect"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/status_page","message":"Found plugin at /usr/share/kibana/src/core_plugins/status_page"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/table_vis","message":"Found plugin at /usr/share/kibana/src/core_plugins/table_vis"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/tagcloud","message":"Found plugin at /usr/share/kibana/src/core_plugins/tagcloud"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/tile_map","message":"Found plugin at /usr/share/kibana/src/core_plugins/tile_map"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/timelion","message":"Found plugin at /usr/share/kibana/src/core_plugins/timelion"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/vega","message":"Found plugin at /usr/share/kibana/src/core_plugins/vega"}
    {"type":"log","@timestamp":"2018-09-27T01:42:49Z","tags":["debug","optimize"],"pid":16510,"message":"All bundles are cached and ready to go!"}
    {"type":"log","@timestamp":"2018-09-27T01:42:49Z","tags":["plugins","debug"],"pid":16510,"plugin":{"name":"kibana","version":"kibana","config":{"@elastic/eslint-import-resolver-kibana":{"projectRoot":false}}},"message":"Initializing plugin kibana@kibana"}

Kibana.yml

server.port: 5601
server.host: "X.X.X.X"
server.name: "iacapps-kibana-node-1"
elasticsearch.url: "http://localhost:9200"
kibana.index: ".kibana"
elasticsearch.username: "kibana"
elasticsearch.password: "foo"
xpack.security.encryptionKey: "'foo"
server.ssl.enabled: true
server.ssl.certificate: /etc/kibana/certs/iacapps-kibana-node-1.crt
server.ssl.key: /etc/kibana/certs/iacapps-kibana-node-1.key
elasticsearch.ssl.certificateAuthorities: /etc/kibana/certs/ca.crt
elasticsearch.requestTimeout: 180000
logging.dest: /var/log/kibana/kibana.log
#User Timeout for a Kibana web session 1sec=1000ms
#600000ms = 600sec = 10mins
xpack.security.sessionTimeout: 600000
logging.verbose: true

Thanks

@Nikhilpawar1985,

Is this the entire Kibana log file? There's nothing out of the ordinary here from what I can see. If you have additional logs, that would help us diagnose this further.

I was able to resolve the issue . Its OK now
Setting - xpack.security.encryptionKey: "'foo"
was causing the issue .

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.