# Support-diagnostics: Does it collects logs and stats from all Nodes of Cluster

**URL:** https://discuss.elastic.co/t/support-diagnostics-does-it-collects-logs-and-stats-from-all-nodes-of-cluster/156795
**Category:** Elasticsearch
**Created:** [November 15, 2018, 6:54am UTC](https://discuss.elastic.co/t/support-diagnostics-does-it-collects-logs-and-stats-from-all-nodes-of-cluster/156795 "2018-11-15T06:54:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sreekanth](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@sreekanth](https://discuss.elastic.co/u/sreekanth)
#### Post date: [November 15, 2018, 6:54am UTC](https://discuss.elastic.co/t/support-diagnostics-does-it-collects-logs-and-stats-from-all-nodes-of-cluster/156795/1 "2018-11-15T06:54:21Z")

</div>

We have a cluster of 3 master nodes and 2 data nodes. If run support-diagnostics on any one of the node as "./diagnostics.sh --host master1 -o /root/diag-out"  
does it collect stats and logs from all nodes?

or Can i pass list of node hostnames?

or should i run multiple instances of this command with different hostnames?

---

<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: [December 13, 2018, 6:54am UTC](https://discuss.elastic.co/t/support-diagnostics-does-it-collects-logs-and-stats-from-all-nodes-of-cluster/156795/2 "2018-12-13T06:54:32Z")

</div>

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