# Monitor the indexing rate of specific index?

**URL:** https://discuss.elastic.co/t/monitor-the-indexing-rate-of-specific-index/99781
**Category:** Elasticsearch
**Created:** [September 8, 2017, 3:03am UTC](https://discuss.elastic.co/t/monitor-the-indexing-rate-of-specific-index/99781 "2017-09-08T03:03:17Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![quanta84](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/quanta84/32/21902_2.png) [@quanta84](https://discuss.elastic.co/u/quanta84)
#### Post date: [September 8, 2017, 3:03am UTC](https://discuss.elastic.co/t/monitor-the-indexing-rate-of-specific-index/99781/1 "2017-09-08T03:03:17Z")

</div>

We are using fluentd to send logs to ElasticSearch:

```
<store>
    @type elasticsearch
    host elasticsearch
    port 9200
    logstash_format true
    index_name logstash
    type_name logstash
</store>

```

For some reasons, sometimes index is not being created, and Kibana has nothing to display in Last 7 days.

I would like to monitor this situation to send me an alert whenever it happens. In Kibana, we have a graph that displays the number of messages per 30 seconds (for logstash-\* index). What is the corresponding metric in ElasticSearch: [https://github.com/influxdata/telegraf/tree/master/plugins/inputs/elasticsearch](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/elasticsearch)

so I can add metrics and setup an alert for it in Grafana?

---

<div class="post-metadata">

### Author: ![thiago](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thiago/32/32096_2.png) [@thiago](https://discuss.elastic.co/u/thiago)
#### Post date: [September 10, 2017, 3:31am UTC](https://discuss.elastic.co/t/monitor-the-indexing-rate-of-specific-index/99781/2 "2017-09-10T03:31:44Z")

</div>

Check the `.monitoring-es-*` indices. All monitoring data to into those indices.

---

<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: [September 10, 2017, 3:46am UTC](https://discuss.elastic.co/t/monitor-the-indexing-rate-of-specific-index/99781/3 "2017-09-10T03:46:53Z")

</div>

Only if you have X-Pack with Monitoring enabled.

I don't believe there is a specific API response that provides this. The Monitoring functionality extracts it from the existing API responses.

---

<div class="post-metadata">

### Author: ![quanta84](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/quanta84/32/21902_2.png) [@quanta84](https://discuss.elastic.co/u/quanta84)
#### Post date: [September 12, 2017, 2:35am UTC](https://discuss.elastic.co/t/monitor-the-indexing-rate-of-specific-index/99781/4 "2017-09-12T02:35:17Z")

</div>

> Check the .monitoring-es-\* indices. All monitoring data to into those indices.

What can I do with those indices?

> Only if you have X-Pack with Monitoring enabled.

After enabling X-Pack monitoring feature, I can see that there is a graph for Indexing rate with an explanation for Primary shards is:

> The number of documents are being indexed for the primary shards

Question: There is no corresponding field in Cluster stats?[Cluster stats API | Elasticsearch Guide [8.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-stats.html)

---

<div class="post-metadata">

### Author: ![thiago](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thiago/32/32096_2.png) [@thiago](https://discuss.elastic.co/u/thiago)
#### Post date: [September 12, 2017, 2:38am UTC](https://discuss.elastic.co/t/monitor-the-indexing-rate-of-specific-index/99781/5 "2017-09-12T02:38:00Z")

</div>

> [@quanta84](#):
>
> What can I do with those indices?

Those indices contains the raw data that feeds the Monitoring graphs related to Indexing Rate

---

<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 10, 2017, 2:38am UTC](https://discuss.elastic.co/t/monitor-the-indexing-rate-of-specific-index/99781/6 "2017-10-10T02:38:03Z")

</div>

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