# Metrics on index failures

**URL:** <https://community.graylog.org/t/metrics-on-index-failures/15866>\
**Category:** Graylog Central (peer support)\
**Created:** [June 10, 2020, 1:46pm UTC](https://community.graylog.org/t/metrics-on-index-failures/15866 "2020-06-10T13:46:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Just-Sieb](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@Just-Sieb](https://community.graylog.org/u/Just-Sieb)\
**Post date:** [June 10, 2020, 1:46pm UTC](https://community.graylog.org/t/metrics-on-index-failures/15866/1 "2020-06-10T13:46:21Z")

</div>

We would like to get metrics on how many index failures we are getting. The only thing that seems close looking at the `/system/metrics` api route is the `org.graylog2.periodical.IndexFailuresPeriodical.queueSize.count` metric. However the data that I see in there does not seem to match with what I see on the `/system/indices/failures` page that shows a list of index failures? Is there a metric that can be used to have a count of every index failure that occurs?

---

<div class="post-metadata">

**Author:** ![shoothub](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/shoothub/32/6412_2.png) [@shoothub](https://community.graylog.org/u/shoothub)\
**Post date:** [June 11, 2020, 1:27pm UTC](https://community.graylog.org/t/metrics-on-index-failures/15866/2 "2020-06-11T13:27:57Z")

</div>

If you want to to check number of unprocessed messages in node check REST API ( `api/cluster/NODE_ID/journal` ) which can return value:

```auto
"uncommitted_journal_entries":,

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [June 25, 2020, 1:28pm UTC](https://community.graylog.org/t/metrics-on-index-failures/15866/3 "2020-06-25T13:28:03Z")

</div>

Closed on June 25, 2020, 1:28pm UTC

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