# Where to know the datanode name like "2XK4x5-tRHyLhpPB7XTdXg" in tasks

**URL:** https://discuss.elastic.co/t/where-to-know-the-datanode-name-like-2xk4x5-trhylhppb7xtdxg-in-tasks/100272
**Category:** Elasticsearch
**Created:** [September 13, 2017, 2:42am UTC](https://discuss.elastic.co/t/where-to-know-the-datanode-name-like-2xk4x5-trhylhppb7xtdxg-in-tasks/100272 "2017-09-13T02:42:11Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)
#### Post date: [September 13, 2017, 2:42am UTC](https://discuss.elastic.co/t/where-to-know-the-datanode-name-like-2xk4x5-trhylhppb7xtdxg-in-tasks/100272/1 "2017-09-13T02:42:11Z")

</div>

where to know the datanode name or ip addr like "2XK4x5-tRHyLhpPB7XTdXg" in tasks

```
  "tasks" : {
    "Qb03E91zSCG1tBvhmfWqzg:96694" : {
      "node" : "Qb03E91zSCG1tBvhmfWqzg",
      "id" : 96694,
      "type" : "netty",
      "action" : "cluster:monitor/tasks/lists[n]",
      "description" : "",
      "start_time_in_millis" : 1505270157997,
      "running_time_in_nanos" : 129517,
      "cancellable" : false,
      "parent_task_id" : "2XK4x5-tRHyLhpPB7XTdXg:11639469"
    }
  }
```

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [September 13, 2017, 6:29am UTC](https://discuss.elastic.co/t/where-to-know-the-datanode-name-like-2xk4x5-trhylhppb7xtdxg-in-tasks/100272/2 "2017-09-13T06:29:17Z")

</div>

```
GET _cat/nodes?v
```

---

<div class="post-metadata">

### Author: ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)
#### Post date: [September 13, 2017, 6:59am UTC](https://discuss.elastic.co/t/where-to-know-the-datanode-name-like-2xk4x5-trhylhppb7xtdxg-in-tasks/100272/3 "2017-09-13T06:59:25Z")

</div>

only know the nodes name but not know "2XK4x5-tRHyLhpPB7XTdXg" is who ?

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [September 13, 2017, 7:40am UTC](https://discuss.elastic.co/t/where-to-know-the-datanode-name-like-2xk4x5-trhylhppb7xtdxg-in-tasks/100272/4 "2017-09-13T07:40:21Z")

</div>

You probably have something like:

```auto
ip heap.percent ram.percent cpu load_1m load_5m load_15m node.role master name
127.0.0.1 19 97 17 2.17 mdi * Iv2LGj-

```

The name is `Iv2LGj` in my case. I guess that in your case it's something like `2XK4x5`?

---

<div class="post-metadata">

### Author: ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)
#### Post date: [September 13, 2017, 7:43am UTC](https://discuss.elastic.co/t/where-to-know-the-datanode-name-like-2xk4x5-trhylhppb7xtdxg-in-tasks/100272/5 "2017-09-13T07:43:21Z")

</div>

no! it the host name.. not like. this elasticsearch 5.4.3

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [September 13, 2017, 8:03am UTC](https://discuss.elastic.co/t/where-to-know-the-datanode-name-like-2xk4x5-trhylhppb7xtdxg-in-tasks/100272/6 "2017-09-13T08:03:12Z")

</div>

I see. Try:

```auto
GET _cat/nodes?v&h=id,ip

```

---

<div class="post-metadata">

### Author: ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)
#### Post date: [September 13, 2017, 8:09am UTC](https://discuss.elastic.co/t/where-to-know-the-datanode-name-like-2xk4x5-trhylhppb7xtdxg-in-tasks/100272/7 "2017-09-13T08:09:39Z")

</div>

the id is only 4 number? is not ok.

> id ip  
> bAP1 10.11.10.xx  
> hhpO 10.11.10.xx  
> C7fk 10.11.10.xx  
> s0jT 10.11.10.xx  
> l-DZ 10.11.10.xx  
> B59n 10.11.10.xx  
> kaxc 10.11.10.xx  
> cZ2t 10.11.10.xx  
> v5jW 10.11.10.xx  
> TuW- 10.11.10.xx  
> CqtQ 10.11.10.xx  
> 1l-E 10.11.10.xx  
> viia 10.11.10.xx  
> HPbo 10.11.10.xx  
> EH4K 10.11.10.xx  
> 6DqJ 10.11.10.xx  
> 7MxU 10.11.10.xx  
> Vy5K 10.11.10.xx  
> Qb03 10.11.10.xx  
> 5IAI 10.11.10.xx  
> gM1x 10.11.10.xx  
> fKcr 10.11.10.xx  
> NH-v 10.11.10.xx  
> o01i 10.11.10.xx  
> y2AT 10.11.10.xx

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [September 13, 2017, 9:02am UTC](https://discuss.elastic.co/t/where-to-know-the-datanode-name-like-2xk4x5-trhylhppb7xtdxg-in-tasks/100272/8 "2017-09-13T09:02:49Z")

</div>

Actually `2XK4x5 **** ` is not a node id. It looks like a parent task id here.

The node is `Qb03E91zSCG1tBvhmfWqzg` which in your case is:

```auto
Qb03 10.11.10.xx

```

---

<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: [October 11, 2017, 9:03am UTC](https://discuss.elastic.co/t/where-to-know-the-datanode-name-like-2xk4x5-trhylhppb7xtdxg-in-tasks/100272/9 "2017-10-11T09:03:46Z")

</div>

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