# Logstash Elasticsearch output - Recommended node types for "hosts"

**URL:** <https://discuss.elastic.co/t/logstash-elasticsearch-output-recommended-node-types-for-hosts/186051>\
**Category:** Logstash\
**Created:** [June 17, 2019, 11:25am UTC](https://discuss.elastic.co/t/logstash-elasticsearch-output-recommended-node-types-for-hosts/186051 "2019-06-17T11:25:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevesimpson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stevesimpson/32/41437_2.png) [@stevesimpson](https://discuss.elastic.co/u/stevesimpson)\
**Post date:** [June 17, 2019, 11:25am UTC](https://discuss.elastic.co/t/logstash-elasticsearch-output-recommended-node-types-for-hosts/186051/1 "2019-06-17T11:25:00Z")

</div>

Hi,

I'm currently setting up Logstash and I'm wondering which Elasticsearch nodes I should add into the "hosts" array in the elasticsearch output configuration.

```
elasticsearch {
  hosts => ...
  ...

```

In my environment I have a "Hot/Warm" architecture with the following node types:

> 3x Master Nodes  
> 6x Data Nodes (3 Hot / 3 Warm)  
> 3x Coordinator only nodes

From the [documentation](https://www.elastic.co/guide/en/logstash/current/plugins-outputs-elasticsearch.html#plugins-outputs-elasticsearch-hosts) I can see it is not advisable to send to the "Master" nodes, however I am unsure which remaining hosts should be added to the hosts array inside of the output configuration file. My gut feelings would be that I should add the "Hot" data nodes only?

As always, any advice or suggestions welcome 🙂

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [June 17, 2019, 11:46am UTC](https://discuss.elastic.co/t/logstash-elasticsearch-output-recommended-node-types-for-hosts/186051/2 "2019-06-17T11:46:36Z")

</div>

Yes, listing just the hot nodes sounds reasonable.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 15, 2019, 11:46am UTC](https://discuss.elastic.co/t/logstash-elasticsearch-output-recommended-node-types-for-hosts/186051/3 "2019-07-15T11:46:38Z")

</div>

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