Kibana data directory

I'd like to change our kibana data directory - which I understand can be achieved by setting path.data.

This means kibana now looks for the keystore in this directory.

However kibana-keystore.bat create still creates the keystore in the default data folder.

How can I specify to the kibana-keystore.bat the new data directory.

I just took a look, it's a bug and opened https://github.com/elastic/kibana/issues/31171. Thanks for the notice.

I didn't see any easy workarounds, unfortunately. I think the best option is to manually move the file.

Thanks for looking into this and raising the bug request.

In the end we managed to work around by setting the DATA_PATH environment variable before running kibana-keystore.bat.

Which environment variable is that? I tried KIBANA_DATA .

"DATA_PATH"

Thank you I found it.

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