Hi,

the Elasticsearch node name is basically just a human readable identifier 
of each Elasticsearch node. It has nothing to do with the cluster name 
(which has to be the same for every node in a given Elasticsearch cluster) 
or the host name of the node running the Elasticsearch process. If you 
still want to change the Elasticsearch node name, you can do so in the 
elasticsearch.yml file. Usually that's not necessary, especially if you're 
only running 1 Elasticsearch node.


Still don't understand why elasticsearch, "sees" as elastcisearch node the 
> "graylog-server" I always believed that we are running a one elasticsearch 
> node architecture.
> We are using a docker, shared (all in one) graylog setup.


Each Graylog server node joins the Elasticsearch cluster as a client node 
(i. e. doesn't store any data and doesn't act as an Elasticsearch master 
node) in order to get better information about the cluster topology (e. g. 
which shards and replicas are being hosted by which node) and to increase 
efficiency while indexing. That's why you see "graylog2-server" in the 
Elasticsearch node list.


Cheers,
Jochen

On Monday, 30 November 2015 22:19:38 UTC+1, eleftherios Banos wrote:
>
> Hi, 
>
> I want to give a specific name to elasticsearch node.
>
> When I am calling elasticsearch Rest Api on node information, I am getting 
> ;
>
> [ec2-user@ip-10-144-127-187 ~]$ curl -i -XGET '127.0.0.1:9200/_cat/nodes'
> HTTP/1.1 200 OK
> Content-Type: text/plain; charset=UTF-8
> Content-Length: 154
>
> ip-10-144-127-187.ec2.internal 10.144.127.187 2 15 1.51 d * Red Wolf       
>  
> ip-10-144-127-187              10.144.127.187 5 15 1.51 c - graylog2-server
>
>
> When I set "elasticsearch_node_name" at graylog.conf, I am actually 
> setting the "graylog2-server" node name.
> Is it possible to set the actual elasticsearch node a name? 
>
> When trying to modify elasticsearch.conf , "node.name:" i get the 
> "Elasticsearch 
> cluster unavailable" error at graylog. 
>
> Here 
> https://www.elastic.co/guide/en/elasticsearch/reference/1.4/setup-configuration.html,
>  
> under cluster name,  suppose to be able to change the elasticsearch node 
> name.
>
>
> Still don't understand why elasticsearch, "sees" as elastcisearch node the 
> "graylog-server" I always believed that we are running a one elasticsearch 
> node architecture.
> We are using a docker, shared (all in one) graylog setup.
>
> Is is a bit strange because when I run :
>
>  curl -i -XGET '127.0.0.1:9200/_cat/nodes?h=hm'
> HTTP/1.1 200 OK
> Content-Type: text/plain; charset=UTF-8
> Content-Length: 14
>
> 8.9gb  <- elasticsearch node JVM Heap configuration. Compared to the 
> previous Rest request the name of the node is 
> (ip-10-144-127-187.ec2.internal). 
> 3.7gb <- graylog-server  JVM Heap configuration 
>
>
> But this not make sense, because according to graylog-web the name 
>  "ip-10-144-127-187.ec2.internal" applies to the graylog-server node. 
>
>
> <https://lh3.googleusercontent.com/-qdUqTutQ63A/Vly9B0cZf6I/AAAAAAAAAHE/oYVVo1Ky-g4/s1600/graylog-sever.png>
>
>
>
>
>
> Thank you very much,
> lefteris.
>

-- 
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/6ec35cf7-817c-46d2-a0f1-21409e6aa03e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to