Kibana Doesnt work if security is disabled

So i disabled opendistro security in ES:
opendistro_security.disabled: true

but now when i try to start kibana it keeps restarting and then simply fails, can anyone please explain why this is happening and whats the solution in this case, i also did the same thing in the kibana.yml file. "serverip" http://localhost:9200
elasticsearch.ssl.verificationMode: none
elasticsearch.username: admin
elasticsearch.password: admin
elasticsearch.requestHeadersWhitelist: ["securitytenant","Authorization"]

opendistro_security.disabled: true

i even tried to comment out the elasticsearch part but that didnt help either. I really need help on this.
Any help or guidance is greatly appreciated.

Hi ghaith,

You must remove Kibana plugin if you are disabling security plugin in elasticsearch.yml.
Please follow the instructions mentioned here:

Please let us know if you are still facing issues.


You can also simply disable the OpenDistro security plugin when launching Kibana:

The url has changed,


$ sudo bin/kibana-plugin remove opendistroSecurityKibana