# A plugin had an unrecoverable error. Will restart this plugin

**URL:** <https://discuss.elastic.co/t/a-plugin-had-an-unrecoverable-error-will-restart-this-plugin/361261>\
**Category:** Logstash\
**Tags:** elastic-stack-monitoring\
**Created:** [June 11, 2024, 1:24pm UTC](https://discuss.elastic.co/t/a-plugin-had-an-unrecoverable-error-will-restart-this-plugin/361261 "2024-06-11T13:24:33Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [June 17, 2024, 9:52am UTC](https://discuss.elastic.co/t/a-plugin-had-an-unrecoverable-error-will-restart-this-plugin/361261/4 "2024-06-17T09:52:36Z")

</div>

Thanks for confirming.

> [@thami](#):
>
> Error: No metrics to query

I wonder if you are having the same issue as [this one with the cloudwatch plugin](https://discuss.elastic.co/t/logstash-cloudwatch-plugin-error/254337). Have you tried specifying filters in your config?

---

_[View the full topic](https://discuss.elastic.co/t/a-plugin-had-an-unrecoverable-error-will-restart-this-plugin/361261)._
