X-pack configuration files


(Stefano Bossi) #1

Dear ES community,

I have recently upgraded my cluster from 6.2 to 6.4, everything was fine but now I want to clean up the old x-pack configuration files.
I read the /etc/elasticsearch/x-pack directory is now deprecated because x-pack is now part of the base installation and no more a plugin.

I have these file in the x-pack config dir:

log4j2.properties
role_mapping.yml
roles.yml
users
users_roles

Should I move the files from /etc/elasticsearch/x-pack to /etc/elasticsearch ?
What about the log4j2.properties file which is duplicate?

Thanks for your help.

Regards,
S.


(Florian Kelbert) #2

Hi @Stefano_Bossi,

The following documentation is quite recent and should answer your question:
https://www.elastic.co/guide/en/elasticsearch/reference/6.3/breaking-changes-6.3.html#_deprecation_of_the_literal_x_pack_literal_configuration_directory

You might also move log4j2.properties, but make sure to look into any differences between the two files and/or creating a backup before overwriting.


(Ryan Ernst) #3

For log4j2.properties you likely want to append it to the end of your log4j properties at the root of your config directory.


(system) #4

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