Add Clustername config in SearchGuardAdmin tool

Hi,

I’m using searchguard 2.2.0.0-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
.builder()
.put(“path.home”, “.”).put(“cluster.name”, clustername)

And we add clustername as an optional argument clustername, it would work.

What do you think?

fixed with 2.2.0.0-alpha3

···

Am Montag, 7. März 2016 19:13:21 UTC+1 schrieb Ronny Bradston:

Hi,

I’m using searchguard 2.2.0.0-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
.builder()
.put(“path.home”, “.”) .put(“cluster.name”, clustername)

And we add clustername as an optional argument clustername, it would work.

What do you think?

Thanks.

···

On Sat, Mar 26, 2016 at 1:09 PM, info@search-guard.com wrote:

fixed with 2.2.0.0-alpha3

https://github.com/floragunncom/search-guard/commit/623e3e0bb206e7094797b08e55f8375c05aeecab

Am Montag, 7. März 2016 19:13:21 UTC+1 schrieb Ronny Bradston:

Hi,

I’m using searchguard 2.2.0.0-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
.builder()
.put(“path.home”, “.”).put(“cluster.name”, clustername)

And we add clustername as an optional argument clustername, it would work.

What do you think?

You received this message because you are subscribed to the Google Groups “Search Guard” group.

To unsubscribe from this group and stop receiving emails from it, send an email to search-guard+unsubscribe@googlegroups.com.

To post to this group, send email to search-guard@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/0f0b667a-ed30-42a6-8c20-71fb331e7de4%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.