Hi Nathan,

I'm not sure how Elasticsearch handles leading whitespace in their 
configuration file. I'd recommend making sure that the configuration 
settings really start at the beginning of a line.

Additionally, please post the complete log files of your Elasticsearch and 
Graylog nodes.

Cheers,
Jochen

On Tuesday, 2 August 2016 16:00:47 UTC+2, Nathan Mace wrote:
>
> Oh good grief!  Clearly been staring at this problem to long, I completely 
> missed those hash signs.
>
> OK, now ES is happily running on the proper IP addresses.  I can access it 
> via curl from other hosts.  So that's a large improvement. However Graylog 
> still only reports 1 node in the web interface.  I've attached the current 
> versions of the config files (vs copy/paste).  Given my tunnel vision on 
> the hash signs, this seems like it will be something obvious but I can't 
> find it.
>
> Thank you so much for the help!
>
> Nathan
>
> On Tuesday, August 2, 2016 at 9:30:58 AM UTC-4, Jochen Schalanda wrote:
>>
>> Hi Nathan,
>>
>> leading hash signs (the # character) mean that the line is commented out.
>>
>> For example the following line is completely ignored:
>>
>> # discovery.zen.ping.unicast.hosts: ["x.x.x.146", "x.x.x.149"]
>>
>>
>> While this line is "active" and will be obeyed:
>>
>> cluster.name: graylog
>>
>>
>> Maybe you've only copy & pasted your configuration files in a strange way 
>> (which is why I would always recommend to send them as attachments), but 
>> that's how it looks like.
>>
>> Cheers,
>> Jochen
>>
>> On Tuesday, 2 August 2016 15:23:22 UTC+2, Nathan Mace wrote:
>>>
>>> Thanks Jochen.  I will make the changes.  However I am very confused by 
>>> your comment about the second node having the cluster.name setting 
>>> unset.  I'm showing that it is set to "graylog" just like the first node. 
>>>  I'm not sure at all what you mean.
>>>
>>> Nathan
>>>
>>> On Tuesday, August 2, 2016 at 6:38:45 AM UTC-4, Jochen Schalanda wrote:
>>>>
>>>> Hi Nathan,
>>>>
>>>> check the elasticsearch_network_host setting of your Graylog nodes. It 
>>>> should be set to one (and only one!) public IP address of the Graylog node 
>>>> which can be accessed by all other Elasticsearch nodes in the cluster.  
>>>> elasticsearch_discovery_zen_ping_unicast_hosts should be a 
>>>> comma-separated list of host/port pairs containing the addresses of the 
>>>> Elasticsearch nodes, for example:
>>>>
>>>> elasticsearch_discovery_zen_ping_unicast_hosts = x.x.x.146:9300, 
>>>> x.x.x.149
>>>>
>>>>
>>>> See 
>>>> http://docs.graylog.org/en/2.0/pages/configuration/elasticsearch.html#network-setup
>>>>  
>>>> for details.
>>>>
>>>> Additionally, the cluster.name of your second Elasticsearch node is 
>>>> unset, which makes it default to "elasticsearch". The logs of that 
>>>> Elasticsearch node should show this pretty clearly.
>>>>
>>>> Also take a look at the network.host settings of both your 
>>>> Elasticsearch nodes. This setting must be customized to your network 
>>>> setup, 
>>>> otherwise they'll only bind to the local network interface (i. e. 
>>>> 127.0.0.1 or ::1). See 
>>>> https://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-network.html#common-network-settings
>>>>  
>>>> for details.
>>>>
>>>> Cheers,
>>>> Jochen
>>>>
>>>> On Monday, 1 August 2016 22:15:32 UTC+2, Nathan Mace wrote:
>>>>>
>>>>> Primary node (MonoDB, Graylog, and ES): IP Address: x.x.x.146
>>>>> Secondary Node (ES Only): IP Address: x.x.x.149
>>>>>
>>>>> Both on the same subnet.  Can ping each other.
>>>>> […]
>>>>>
>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/675935ef-8d5c-4fe0-a048-7eae9d3a5649%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to