Hi Jens,

in contrast to the configuration file format of Elasticsearch which uses 
YAML, the configuration file of Graylog is a simple Java properties file.

This being said, the correct syntax for specifying multiple Elasticsearch 
nodes in the elasticsearch_discovery_zen_ping_unicast_hosts configuration 
setting in Graylog is a simple comma-separated list:

elasticsearch_discovery_zen_ping_unicast_hosts = host1:9300,host2:9300


You can also find an example for this in the Graylog documentation 
at http://docs.graylog.org/en/1.0/pages/configuring_es.html#discovery-mode

HTH,
Jochen

On Monday, 18 May 2015 17:48:44 UTC+2, Jens Kuehnel wrote:
>
> Hi, 
>
> after some more test I found the problem. It was not the update from 
> 0.20 to 1.0. It was a change in the configfile I did before the upgrade 
> :-( 
>
> When I add the following lines to the Graylog server.conf I get the 
> error messages: 
>
> elasticsearch_discovery_zen_ping_multicast_enabled = false 
> elasticsearch_discovery_zen_ping_unicast_hosts = 
> ["host1:9300","host2:9300"] 
>
> The error message is : 
> > 2015-05-07T17:13:57.166+02:00 WARN  [transport] [graylog2-server] 
> > Registered two transport handlers for action 
> > cluster/snapshot/update_snapshot, handlers: 
> > 
> org.elasticsearch.snapshots.SnapshotsService$UpdateSnapshotStateRequestHandler@512a5124,
>  
>
> > 
> org.elasticsearch.snapshots.SnapshotsService$UpdateSnapshotStateRequestHandler@31353c1d
>  
>
>
> The host1 and host2 are running ES with the similar setting: 
> discovery.zen.ping.multicast.enabled = false 
> discovery.zen.ping.unicast.hosts = ["host1:9300","host2:9300"] 
>
> I disabled the graylog setting at the moment and graylog works again. 
> YEAH. 
>
> I disabled the multicast in ES, so why can't I disable the multicast 
> with graylog as well. Especially when it is in the example config file. 
> Do I have a config error, or has anyone set it up this way? 
>
> CU 
> Jens 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to