# \_cat api for nodes

**URL:** https://discuss.elastic.co/t/-cat-api-for-nodes/16300
**Category:** Elasticsearch
**Created:** [March 11, 2014, 9:23pm UTC](https://discuss.elastic.co/t/-cat-api-for-nodes/16300 "2014-03-11T21:23:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Jettro\_Coenradie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jettro_coenradie/32/59704_2.png) [@Jettro\_Coenradie](https://discuss.elastic.co/u/Jettro_Coenradie)
#### Post date: [March 11, 2014, 9:23pm UTC](https://discuss.elastic.co/t/-cat-api-for-nodes/16300/1 "2014-03-11T21:23:11Z")

</div>

Hi,  
I am trying the \_cat api and I have a question about the output for this  
request:

curl "[http://192.168.1.100:9200/\_cat/nodes?h=name,master,role](http://192.168.1.100:9200/_cat/nodes?h=name,master,role)"

The output for this request is:

Laptop-client - -  
jc-pi-wit \* d  
jc-pi-glas m d  
jc-pi-red m d

I was expecting a c for the laptop client, this is configured as master:  
false and data: false

The help for role gives:  
node.role | r,role,dc,nodeRole | d:data node,  
c:client node

Thanks, Jettro

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/ce682424-dad6-4e3c-8aa8-d465e06f00d8%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ce682424-dad6-4e3c-8aa8-d465e06f00d8%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Jettro\_Coenradie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jettro_coenradie/32/59704_2.png) [@Jettro\_Coenradie](https://discuss.elastic.co/u/Jettro_Coenradie)
#### Post date: [March 11, 2014, 11:04pm UTC](https://discuss.elastic.co/t/-cat-api-for-nodes/16300/2 "2014-03-11T23:04:15Z")

</div>

When specifying node.client: true I do get the c as expected.

Op dinsdag 11 maart 2014 22:23:11 UTC+1 schreef Jettro Coenradie:

> Hi,  
> I am trying the \_cat api and I have a question about the output for this  
> request:
> 
> curl "[http://192.168.1.100:9200/\_cat/nodes?h=name,master,role](http://192.168.1.100:9200/_cat/nodes?h=name,master,role)"
> 
> The output for this request is:
> 
> Laptop-client - -  
> jc-pi-wit \* d  
> jc-pi-glas m d  
> jc-pi-red m d
> 
> I was expecting a c for the laptop client, this is configured as master:  
> false and data: false
> 
> The help for role gives:  
> node.role | r,role,dc,nodeRole | d:data node,  
> c:client node
> 
> Thanks, Jettro

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/5e6ecba2-d3b5-4453-9b85-640957e4fe6a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5e6ecba2-d3b5-4453-9b85-640957e4fe6a%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 1:44am UTC](https://discuss.elastic.co/t/-cat-api-for-nodes/16300/3 "2017-07-06T01:44:04Z")

</div>


