Route Kibana requests to a specific node


(Marco Muratore) #1

Hello everybody,

I would like to know if there is a way to specify the nodes Kibana connects to to perform the requests.
In particular I would like to set something similar to preference=_local to all the queries executed by Kibana.
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-preference.html

The idea is to use some nodes with enough resources to perform analysis (heavy aggregations) leaving unloaded other nodes used for data collection and light searches.
It's the exact opposite of Configure Kibana for multiple ES servers/nodes.

Thanks


(Saifeddine Hmissi) #2

Hello Marco,

Elasticsearch has created a special node type: "client node", which contains "no data", and cannot become a "master node". The client node's function is to perform the final resource heavy merge-sort at the end of the query.
and dont use master as client to kibana !


client node configuration :

node.master: false
node.data: false
node.ingest: false
discovery.zen.ping.unicast.hosts: ["master1", "masterN"]

Cheers!


(Marco Muratore) #3

Hello @saif,
thank you very much, I'll try this solution right away.
I checked the Elasticsearch docs before opening this topic but I didn't find comprehensive info about nodes attributes and their usage, do you have any link about this topic?

Cheers.


(system) #4

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