Migrating created users from ELK cluster to another

Hi, Where does kibana save all the created users? Will it be in a file in local system or in elasticsearch index? Can we migrate the users created in primary cluster to secondary cluster without recreating them in the secondary cluster? Please suggest.

Thanks and Regards,

Hi @ruthvicsd,

thanks for your question.
If you create a user in Kibana, they are created as an Elasticsearch user. How these are persisted depends on your Elasticsearch settings, the default is the native realm.

There is no built-in way to transfer the users, the easiest way is to use the APIs https://www.elastic.co/guide/en/x-pack/current/security-api-users.html
https://www.elastic.co/guide/en/x-pack/current/security-api-roles.html as explained in these slightly outdated answer Export/Import users/roles from Native User Authentication?

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