Error kibana at Installation of X-pack

Hello

I have a problem following the installation of x-pack, I sometimes have to start the Kibana service. I encounter the following error and I can not solve the problem
"FATAL {[Error:. Xpack.security.encryptionKey is required in kibana.yml]
cause: [Error: xpack.security.encryptionKey is required in kibana.yml.] "
can you help me? tell me what line and what add file

thank you in advance

Hi Lucas,

https://www.elastic.co/guide/en/shield/current/kibana.html

I hope this may help you.
you need to add line called "shield.encryptionKey: "something_secret"". go through the above link.

Thanks,
Uday.K

Hi Uday,

Thank you for your reply :slight_smile:

I added this line in the kibana.yml but his was not working and I always had the error

I'm always looking for a solution or a way to disable the security feature so that I focus on other plugin. For now, I can no longer use the service as Kibana do not want to it

xpack.security.encryptionKey: "something_secret" You should use this in your Kibana.yml. Hope you are following this link for Kibana section

https://www.elastic.co/guide/en/x-pack/v5.0.0-alpha2-docs/installing-xpack.html

oh, you are using x-pack. then the solution provided by Krishnan will sort out your issue.

If you dont want to use shield security,

xpack.security.enabled - Set to false to disable X-Pack Security.

in kibana.yml.

for ES you can do the same in elaticsearch.yml.

I followed the procedure of elastic site to disable the X-Pack Security but I still have the same error in the log Kibana

If you'd like to disable security inside Kibana as well, add the following line to your kibana.yml:

xpack.security.enabled: false