# Reindex monitoring Node JS

**URL:** https://discuss.elastic.co/t/reindex-monitoring-node-js/188679
**Category:** Elasticsearch
**Created:** [July 3, 2019, 10:00am UTC](https://discuss.elastic.co/t/reindex-monitoring-node-js/188679 "2019-07-03T10:00:14Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Gregoire\_Rouet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregoire_rouet/32/42233_2.png) [@Gregoire\_Rouet](https://discuss.elastic.co/u/Gregoire_Rouet)
#### Post date: [July 3, 2019, 10:00am UTC](https://discuss.elastic.co/t/reindex-monitoring-node-js/188679/1 "2019-07-03T10:00:15Z")

</div>

Hello,

I'm trying to develop a Kibana plugin.

I want to reindex, which works fine. But I'd like to monitor the reindexing. I have found the query for it :

```
GET _tasks?detailed=true&actions=*reindex

```

But the task api seems to be less effective with node js ?

It seems i can't do this :

```
const currentTask = await callWithRequest(req, 'tasks.get', { action: '*reindex' });

```

Thanks a lot!

---

<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 31, 2019, 10:00am UTC](https://discuss.elastic.co/t/reindex-monitoring-node-js/188679/2 "2019-07-31T10:00:17Z")

</div>

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