# Total messages processed per node

**URL:** <https://community.graylog.org/t/total-messages-processed-per-node/2742>\
**Category:** Graylog Central (peer support)\
**Created:** [October 11, 2017, 12:11pm UTC](https://community.graylog.org/t/total-messages-processed-per-node/2742 "2017-10-11T12:11:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![okelet](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/okelet/32/1505_2.png) [@okelet](https://community.graylog.org/u/okelet)\
**Post date:** [October 11, 2017, 12:11pm UTC](https://community.graylog.org/t/total-messages-processed-per-node/2742/1 "2017-10-11T12:11:10Z")

</div>

Hi,

I am trying to create a template in Zabbix to monitor some aspects of Graylog. One of them is the total number of messages processes per node, but I can’t find in the API any endpoint with this information. Is this available anywhere?

Thanks.

---

<div class="post-metadata">

**Author:** ![jochen](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jochen/32/8_2.png) [@jochen](https://community.graylog.org/u/jochen)\
**Post date:** [October 11, 2017, 2:11pm UTC](https://community.graylog.org/t/total-messages-processed-per-node/2742/2 "2017-10-11T14:11:13Z")

</div>

Depending on what you exactly want to monitor, you can use these metrics (see `/system/metrics` in the Graylog REST API):

- `org.graylog2.shared.buffers.InputBufferImpl.incomingMessages`
- `org.graylog2.shared.buffers.ProcessBuffer.incomingMessages`
- `org.graylog2.shared.buffers.processors.ProcessBufferProcessor.incomingMessages`
- `org.graylog2.shared.buffers.processors.ProcessBufferProcessor.outgoingMessages`
- `org.graylog2.buffers.processors.OutputBufferProcessor.incomingMessages`
- `org.graylog2.buffers.OutputBuffer.incomingMessages`

---

<div class="post-metadata">

**Author:** ![okelet](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/okelet/32/1505_2.png) [@okelet](https://community.graylog.org/u/okelet)\
**Post date:** [October 11, 2017, 2:52pm UTC](https://community.graylog.org/t/total-messages-processed-per-node/2742/3 "2017-10-11T14:52:39Z")

</div>

Thanks @jochen, which is the metric most suitable metric to get the number of all messages received, from any input, before any filter, grok, pipeline, etc.?

---

<div class="post-metadata">

**Author:** ![jochen](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jochen/32/8_2.png) [@jochen](https://community.graylog.org/u/jochen)\
**Post date:** [October 11, 2017, 3:51pm UTC](https://community.graylog.org/t/total-messages-processed-per-node/2742/4 "2017-10-11T15:51:08Z")

</div>

That would be the first one: `org.graylog2.shared.buffers.InputBufferImpl.incomingMessages`

---

<div class="post-metadata">

**Author:** ![okelet](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/okelet/32/1505_2.png) [@okelet](https://community.graylog.org/u/okelet)\
**Post date:** [October 13, 2017, 8:59am UTC](https://community.graylog.org/t/total-messages-processed-per-node/2742/5 "2017-10-13T08:59:53Z")

</div>

Just if anybody wants, I have created a Gist with info about monitoring Graylog (journal and number of processed messages) with Zabbix.

> <https://gist.github.com/okelet/e616438c274bc997eb5f0f03efd075d0>

---

<div class="post-metadata">

**Author:** ![jochen](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jochen/32/8_2.png) [@jochen](https://community.graylog.org/u/jochen)\
**Post date:** [October 13, 2017, 9:02am UTC](https://community.graylog.org/t/total-messages-processed-per-node/2742/6 "2017-10-13T09:02:08Z")

</div>

It would be great if you could move this to a “real” GitHub repository and add it to the Graylog Marketplace. 🙂

➡ [http://docs.graylog.org/en/2.3/pages/marketplace.html](http://docs.graylog.org/en/2.3/pages/marketplace.html)

---

<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:** [October 27, 2017, 9:02am UTC](https://community.graylog.org/t/total-messages-processed-per-node/2742/7 "2017-10-27T09:02:16Z")

</div>

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