# How does monitoring calculate the documents per second?

**URL:** <https://discuss.elastic.co/t/how-does-monitoring-calculate-the-documents-per-second/102315>\
**Category:** Elasticsearch\
**Created:** [September 29, 2017, 8:48pm UTC](https://discuss.elastic.co/t/how-does-monitoring-calculate-the-documents-per-second/102315 "2017-09-29T20:48:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![megadevx](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@megadevx](https://discuss.elastic.co/u/megadevx)\
**Post date:** [September 29, 2017, 8:48pm UTC](https://discuss.elastic.co/t/how-does-monitoring-calculate-the-documents-per-second/102315/1 "2017-09-29T20:48:44Z")

</div>

I am trying to write a short command line re-index tool that lets you easily add all the options for re-indexing. I want to be able to query elastic or kibana or monitoring to tell the user how many documents per second are being re-indexed. Does anybody have any ideas on how to do this? I have tried just scraping the html off the monitoring page but that fails. I also have tried just calculating it by hand but my calculation is not the same as the monitoring output.

---

<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 27, 2017, 8:48pm UTC](https://discuss.elastic.co/t/how-does-monitoring-calculate-the-documents-per-second/102315/2 "2017-10-27T20:48:59Z")

</div>

Closed on October 27, 2017, 8:48pm UTC

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