I’m using searchguard 18.104.22.168-alpha2, and when I initialized searchguard for the first time I realized that elasticsearch cluster name must be the default one otherwise sgadmin can not connected to my elasticsearch cluster. I think if in com.floragunn.searchguard.tools.SearchGuardAdmin.java, we add :
final Settings settings = Settings
.put(“path.home”, “.”).put(“cluster.name”, clustername)
And we add clustername as an optional argument clustername, it would work.
What do you think?