I installed elasticsearch, kibana and x-pack all with version 6.2.2. I followed the steps described in the official documentation at Install X-pack on Elasticsearch
There were no errors along the way.
The problem came when I tried to set up passwords for the built in users like elastic and kibana. When I ran the "setup-passwords interactive" command, there was a message:
the output was an empty json. (my_admin is a user which was created using the users batch file in the bin\x-pack folder. This user has a superuser role)
Currently, I am not able to log into Kibana as well. The login page is disabled with the message "Login is currently disabled. Administrators should consult the Kibana logs for more details".
It is likely that this is caused by some sort of underlying cluster problem and has nothing specific to do with the setup-passwords process.
Since you have security enabled, and haven't yet set a password for the builtin users, it can be tricky to diagnose the cluster health issues (but there a couple of options for that if you need).
The easiest first step is to check the elasticsearch logs. The location of the logs directory can vary depending on how you installed Elasticsearch (OS package, vs zip/tgz) and any configuration changes you've made. Locate the elasticsearch.log file within your logs directory, and check for any error messages.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.