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 graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/72f4dc42-8d66-4ecb-bfe6-75771471fdae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to