# Get backlog from an alert

**URL:** <https://community.graylog.org/t/get-backlog-from-an-alert/11691>\
**Category:** Graylog Central (peer support)\
**Created:** [August 23, 2019, 3:06pm UTC](https://community.graylog.org/t/get-backlog-from-an-alert/11691 "2019-08-23T15:06:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdcastro-dc-uba-ar](https://avatars.discourse-cdn.com/v4/letter/m/7ea924/32.png) [@mdcastro-dc-uba-ar](https://community.graylog.org/u/mdcastro-dc-uba-ar)\
**Post date:** [August 23, 2019, 3:06pm UTC](https://community.graylog.org/t/get-backlog-from-an-alert/11691/1 "2019-08-23T15:06:30Z")

</div>

Hi.  
I need to script some actions based on the content of some messages.  
I have an alert condition set to trigger when there are more than X messages with the same IP. The backlog is set to 1.  
¿Is there a way to get that IP value into my script?  
I tried with the execalarmCallback plugin but it has no way of including the backlog message as a parameter.  
Then I tried making requests to the API, but I can’t find any way to get the actual content of the messages or any of the extracted fields.

Sadly, I don’t know enough Java to write my own plugin or modify an existent one.

Thanks.

---

<div class="post-metadata">

**Author:** ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)\
**Post date:** [August 25, 2019, 9:48am UTC](https://community.graylog.org/t/get-backlog-from-an-alert/11691/2 "2019-08-25T09:48:10Z")

</div>

What Graylog Version are we talking about?

---

<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:** [September 8, 2019, 9:48am UTC](https://community.graylog.org/t/get-backlog-from-an-alert/11691/3 "2019-09-08T09:48:41Z")

</div>

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