How can set elastic search architecture? (master , data)

I want make 6 elasticsearch node for logging system.
how can i set master and data node?

1-master / 5-data or 3-master / 3-data?
i don't know what is the best setting.

thank you.

Hi,
Have a read here: https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html

You can easily set the setting in the above link to match up with the architecture you are looking for.

EDIT: I would not suggest one master and 5 data nodes. But in any case the doc above has the settings you need...

I'd keep all defaults there.

@waqark3389 thank you so much. :grinning: