Hey @Nathan_Reese,
Thanks for your response.
If we are starting the kibana using bin/kibana, we are getting all features of xpack and getting the logs as shown below,
log [17:28:41.453] [info][status][plugin:kibana@5.6.9] Status changed from uninitialized to green - Ready
log [17:28:41.559] [info][status][plugin:xpack_main@5.6.9] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [17:28:41.578] [info][status][plugin:graph@5.6.9] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [17:28:41.586] [info][status][plugin:monitoring@5.6.9] Status changed from uninitialized to green - Ready
log [17:28:41.743] [warning][reporting] Generating a random key for xpack.reporting.encryptionKey. To prevent pending reports from failing on restart, please set xpack.reporting.encryptionKey in kibana.yml
log [17:28:41.748] [info][status][plugin:reporting@5.6.9] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [17:28:41.787] [info][status][plugin:security@5.6.9] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [17:28:41.788] [warning][security] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in kibana.yml
log [17:28:41.792] [warning][security] Session cookies will be transmitted over insecure connections. This is not recommended.
log [17:28:41.834] [info][status][plugin:searchprofiler@5.6.9] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [17:28:41.845] [info][status][plugin:ml@5.6.9] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [17:28:41.896] [info][status][plugin:ml@5.6.9] Status changed from yellow to green - Ready
log [17:28:41.902] [info][status][plugin:tilemap@5.6.9] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [17:28:42.009] [info][status][plugin:graph@5.6.9] Status changed from yellow to green - Ready
log [17:28:42.010] [info][status][plugin:reporting@5.6.9] Status changed from yellow to green - Ready
log [17:28:42.011] [info][status][plugin:security@5.6.9] Status changed from yellow to green - Ready
log [17:28:42.013] [info][status][plugin:searchprofiler@5.6.9] Status changed from yellow to green - Ready
log [17:28:42.014] [info][status][plugin:tilemap@5.6.9] Status changed from yellow to green - Ready
log [17:28:42.015] [info][status][plugin:watcher@5.6.9] Status changed from yellow to green - Ready
log [17:28:42.016] [info][status][plugin:upgrade@5.6.9] Status changed from yellow to green - Ready
log [17:28:42.031] [info][status][plugin:console@5.6.9] Status changed from uninitialized to green - Ready
log [17:28:42.052] [info][license][xpack] Imported license information from Elasticsearch for [monitoring] cluster: mode: platinum | status: active | expiry date: 2019-05-04T19:59:59-04:00
log [17:28:42.058] [info][status][plugin:monitoring@5.6.9] Status changed from yellow to green - Ready
log [17:28:42.074] [info][status][plugin:metrics@5.6.9] Status changed from uninitialized to green - Ready
log [17:28:42.513] [info][status][plugin:timelion@5.6.9] Status changed from uninitialized to green - Ready
log [17:28:42.518] [info][listening] Server running at http://0.0.0.0:5601
log [17:28:42.520] [info][status][ui settings] Status changed from uninitialized to green - Ready
If we are starting kibana as a service (sudo systemctl restart kibana.service), we cannot see xpack features in kibana UI. Logs which we are getting is,
Jun 06 14:54:51 dev-mgt-elk-w2a-2 systemd[1]: Starting Kibana...
Jun 06 14:54:52 dev-mgt-elk-w2a-2 kibana[31130]: {"type":"log","@timestamp":"2018-06-06T18:54:52Z","tags":["plugins","warning"],"pid":31130,"path":"/usr/share/kibana/plugins/x-pack","message":"Skipping non-plugin directory at /usr/share/kibana/plugins/x-pack"}
Jun 06 14:54:53 dev-mgt-elk-w2a-2 kibana[31130]: {"type":"log","@timestamp":"2018-06-06T18:54:53Z","tags":["status","plugin:kibana@5.6.9","info"],"pid":31130,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
Jun 06 14:54:53 dev-mgt-elk-w2a-2 kibana[31130]: {"type":"log","@timestamp":"2018-06-06T18:54:53Z","tags":["status","plugin:elasticsearch@5.6.9","info"],"pid":31130,"state":"yellow","message":"Status changed from uninitialized to yellow - Waiting for Elasticsearch","prevState":"uninitialized","prevMsg":"uninitialized"}
Jun 06 14:54:53 dev-mgt-elk-w2a-2 kibana[31130]: {"type":"log","@timestamp":"2018-06-06T18:54:53Z","tags":["status","plugin:console@5.6.9","info"],"pid":31130,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
Jun 06 14:54:53 dev-mgt-elk-w2a-2 kibana[31130]: {"type":"log","@timestamp":"2018-06-06T18:54:53Z","tags":["status","plugin:metrics@5.6.9","info"],"pid":31130,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
Jun 06 14:54:53 dev-mgt-elk-w2a-2 kibana[31130]: {"type":"log","@timestamp":"2018-06-06T18:54:53Z","tags":["status","plugin:elasticsearch@5.6.9","info"],"pid":31130,"state":"green","message":"Status changed from yellow to green - Kibana index ready","prevState":"yellow","prevMsg":"Waiting for Elasticsearch"}
Jun 06 14:54:53 dev-mgt-elk-w2a-2 kibana[31130]: {"type":"log","@timestamp":"2018-06-06T18:54:53Z","tags":["status","plugin:timelion@5.6.9","info"],"pid":31130,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
Jun 06 14:54:53 dev-mgt-elk-w2a-2 kibana[31130]: {"type":"log","@timestamp":"2018-06-06T18:54:53Z","tags":["listening","info"],"pid":31130,"message":"Server running at http://0.0.0.0:5601"}
Jun 06 14:54:53 dev-mgt-elk-w2a-2 kibana[31130]: {"type":"log","@timestamp":"2018-06-06T18:54:53Z","tags":["status","ui settings","info"],"pid":31130,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
Kibana.yml
server.port: 5601
server.host: "0.0.0.0"
elasticsearch.url: "http://10.65.45.22:9200"
elasticsearch.username: "kibana"
elasticsearch.password: "changeme"
logging.dest: stdout
I was not able to find a logfile for kibana so I ran journalctl -u kibana.service
and took logs.