# What are the possible values of type in task

**URL:** https://discuss.elastic.co/t/what-are-the-possible-values-of-type-in-task/261534
**Category:** Elasticsearch
**Created:** [January 19, 2021, 11:48am UTC](https://discuss.elastic.co/t/what-are-the-possible-values-of-type-in-task/261534 "2021-01-19T11:48:40Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![kender1314](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kender1314/32/82530_2.png) [@kender1314](https://discuss.elastic.co/u/kender1314)
#### Post date: [January 19, 2021, 11:48am UTC](https://discuss.elastic.co/t/what-are-the-possible-values-of-type-in-task/261534/1 "2021-01-19T11:48:40Z")

</div>

As the documentation says，when I execute command  
`GET _tasks?actions=*search&detailed`  
return result

{  
"nodes" : {  
"oTUltX4IQMOUUVeiohTt8A" : {  
"name" : "H5dfFeA",  
"transport\_address" : "127.0.0.1:9300",  
"host" : "127.0.0.1",  
"ip" : "127.0.0.1:9300",  
"tasks" : {  
"oTUltX4IQMOUUVeiohTt8A:464" : {  
"node" : "oTUltX4IQMOUUVeiohTt8A",  
"id" : 464,  
"type" : "transport",  
"action" : "indices:data/read/search",  
"description" : "indices[test], types[test], search\_type[QUERY\_THEN\_FETCH], source[{"query":...}]",  
"start\_time\_in\_millis" : 1483478610008,  
"running\_time\_in\_nanos" : 13991383,  
"cancellable" : true  
}  
}  
}  
}  
}

how many values of type in result? I currently know that the possible values in type are transport and direct. I want to know what other possible values are and what each value represents.  
Thanks.

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [January 25, 2021, 12:14am UTC](https://discuss.elastic.co/t/what-are-the-possible-values-of-type-in-task/261534/2 "2021-01-25T00:14:33Z")

</div>

Welcome to our community! 😃

I am not sure that we document down to this level. Can you explain a little more why you'd like to know this?

---

<div class="post-metadata">

### Author: ![kender1314](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kender1314/32/82530_2.png) [@kender1314](https://discuss.elastic.co/u/kender1314)
#### Post date: [January 25, 2021, 1:01am UTC](https://discuss.elastic.co/t/what-are-the-possible-values-of-type-in-task/261534/3 "2021-01-25T01:01:38Z")

</div>

I want to monitor each elasticsearch request, its read and write rate, request status, etc. So I want to make more use of the parameters provided by task management. If you can provide it, I would be very grateful.

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [January 25, 2021, 1:02am UTC](https://discuss.elastic.co/t/what-are-the-possible-values-of-type-in-task/261534/4 "2021-01-25T01:02:16Z")

</div>

Why not use Monitoring for that?

---

<div class="post-metadata">

### Author: ![kender1314](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kender1314/32/82530_2.png) [@kender1314](https://discuss.elastic.co/u/kender1314)
#### Post date: [January 25, 2021, 1:03am UTC](https://discuss.elastic.co/t/what-are-the-possible-values-of-type-in-task/261534/5 "2021-01-25T01:03:31Z")

</div>

If a request is too long, I need to use the cancel task function.

---

<div class="post-metadata">

### Author: ![kender1314](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kender1314/32/82530_2.png) [@kender1314](https://discuss.elastic.co/u/kender1314)
#### Post date: [January 25, 2021, 1:33am UTC](https://discuss.elastic.co/t/what-are-the-possible-values-of-type-in-task/261534/6 "2021-01-25T01:33:12Z")

</div>

I plan to use the Monitoring and task functions together. Only the Monitoring function does not meet my needs.

---

<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: [February 22, 2021, 1:33am UTC](https://discuss.elastic.co/t/what-are-the-possible-values-of-type-in-task/261534/7 "2021-02-22T01:33:34Z")

</div>

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