Network.host: "[_site_]" does not work

Hi,

I am running elasticsearch-5.2.0-1.noarch on CentOS release 6.8 (Final). I am trying to configure network.host: "[site]" while referring to https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html. Elasticsearch service does not start at all.

[root@ sysconfig]# /etc/init.d/elasticsearch restart
Stopping elasticsearch: [FAILED]
Starting elasticsearch: [FAILED]
[root@ sysconfig]#

log file :- /var/log/elasticsearch/elasticsearch.log pastebin is http://sprunge.us/SMQB
config file :- /etc/elasticsearch/elasticsearch.yml pastebin is http://sprunge.us/TZjC

Elasticsearch version :- elasticsearch-5.2.0-1.noarch

Please do let me know if you need any configs or logs to be shared. I look forward to hearing from you.

Regards,

Kaushal

Hi,

you specified:

network.host: "[_site_]"

but it should be one of these (either one will work):

network.host: [ "_site_" ]
network.host: "_site_"
network.host: _site_

Daniel

Hey Daniel,

i have the same issue with ubuntu 16.04 with elasticsearch 5.2.1.

I tried all examples you provided but the service didn't start. If I remove this entry the service starts fine :frowning:

Greetings, Thomas

Hi @teiling88,

can you share elasticsearch.yml and the log output?

Daniel

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