How to reset elasticsearch security back to the original state

Hello,

I was playing around with xpack security feature and now nothing seam to work. Is there a way that I can revert back to the original state and start it over?

Regards,
Peter

It depends a little on what you've done and how it's ended up in a bad state, but the general advice is:

  1. Remove/comment-out all xpack.security.* settings from your elasticsearch.yml file
  2. Restart your whole cluster
  3. Remove the security indices: DELETE .security-*

However, we can probably help sort through your problems without needing to be quite so drastic if you would prefer.
Just let us know what's going wrong and we'll see what we can do.

Thank you, I did that already. Started over but it's not helpfull. My main issue is kibana does not want to connect to the elasticsearch. I might need to ask the question on kibana in order to figure it out.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.