I have working ELK 5.3.0 and Xpack5.3.0 successfully installed in Elasticsearch plugin and Kibana plugin.
If Elastic search login disabled in kibana.yml , kibana asking for username and password in localhost:5601. But username password is not accepting .
If Elastic search login enabling in kibana.yml , ./kibana not successfully load. error messages showing. localhost:5601 is not loading
When I am enabling
Case 1) elasticsearch.username: "kibana"
elasticsearch.password: "kibanapassword" in kibana.yml
Tried this username password as per the tutorial: https://www.elastic.co/guide/en/kibana/6.0/installing-xpack-kb.html
Case 2) elasticsearch.username: "abcdefgh"
elasticsearch.password: "123xyz" in kibana.yml
My actual kibana user in kibana installed centos server is "abcdefgh" and password is "123xyz".
Below showing error happening.
[07:50:00.741] [info][status][plugin:kibana@5.3.0] Status changed from uninitialized to green - Ready
log [07:50:00.901] [info][status][plugin:elasticsearch@5.3.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [07:50:00.939] [info][status][plugin:xpack_main@5.3.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [07:50:00.968] [error][status][plugin:xpack_main@5.3.0] Status changed from yellow to red - Authentication Exception
log [07:50:00.969] [error][status][plugin:elasticsearch@5.3.0] Status changed from yellow to red - Authentication Exception
log [07:50:01.369] [error][status][plugin:graph@5.3.0] Status changed from uninitialized to red - Authentication Exception
log [07:50:01.383] [info][status][plugin:monitoring@5.3.0] Status changed from uninitialized to green - Ready
log [07:50:01.388] [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 [07:50:01.395] [error][status][plugin:reporting@5.3.0] Status changed from uninitialized to red - Authentication Exception
log [07:50:01.456] [error][status][plugin:security@5.3.0] Status changed from uninitialized to red - Authentication Exception
log [07:50:01.457] [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 [07:50:01.468] [warning][security] Session cookies will be transmitted over insecure connections. This is not recommended.
log [07:50:01.819] [error][status][plugin:searchprofiler@5.3.0] Status changed from uninitialized to red - Authentication Exception
log [07:50:01.954] [error][status][plugin:tilemap@5.3.0] Status changed from uninitialized to red - Authentication Exception
log [07:50:01.997] [info][status][plugin:console@5.3.0] Status changed from uninitialized to green - Ready
log [07:50:02.700] [info][status][plugin:timelion@5.3.0] Status changed from uninitialized to green - Ready
log [07:50:02.716] [info][listening] Server running at http://10.10.114.233:5601
log [07:50:02.719] [error][status][ui settings] Status changed from uninitialized to red - Elasticsearch plugin is red
When I am disabled
#elasticsearch.username: "kibana"
#elasticsearch.password: "kibanapassword" in kibana.yml
./kibana output is shown below . And Kibana Login page successfully loading in localhost:5601. But the username password not accepting.
[07:49:01.515] [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 [07:49:01.530] [warning][security] Session cookies will be transmitted over insecure connections. This is not recommended.
log [07:49:01.669] [info][status][plugin:searchprofiler@5.3.0] Status changed from uninitialized to green - Ready
log [07:49:01.707] [info][status][plugin:tilemap@5.3.0] Status changed from uninitialized to green - Ready
log [07:49:08.195] [info][status][plugin:monitoring@5.3.0] Status changed from yellow to green - Ready
log [07:49:08.216] [info][status][plugin:console@5.3.0] Status changed from uninitialized to green - Ready
log [07:49:08.599] [info][status][plugin:timelion@5.3.0] Status changed from uninitialized to green - Ready
log [07:49:08.606] [info][listening] Server running at http://10.10.114.233:5601
log [07:49:08.608] [info][status][ui settings] Status changed from uninitialized to green - Ready
But Login Not success:
and localhost:5601 loaded kibana login page and asking for username and password
But login is not a success. Tires passwords are
case 1) username : kibana and password : kibanapassword ( Elasticsearch login disabled in kibana.yml )
case 2) username : abcdefgh and password : 123xyz ( Elasticsearch login disabled in kibana.yml )