Kibana data directory


(Stuart Smith) #1

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.


(Jon Budzenski) #2

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.


(Stuart Smith) #3

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.


(David Rodriguez) #4

Which environment variable is that? I tried KIBANA_DATA .


(Stuart Smith) #5

"DATA_PATH"


(David Rodriguez) #6

Thank you I found it.


(system) closed #7

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