# Metricbeat showing failure

**URL:** <https://discuss.elastic.co/t/metricbeat-showing-failure/315203>\
**Category:** Metrics\
**Created:** [September 26, 2022, 6:48pm UTC](https://discuss.elastic.co/t/metricbeat-showing-failure/315203 "2022-09-26T18:48:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akaren](https://avatars.discourse-cdn.com/v4/letter/a/8dc957/32.png) [@Akaren](https://discuss.elastic.co/u/Akaren)\
**Post date:** [September 26, 2022, 6:48pm UTC](https://discuss.elastic.co/t/metricbeat-showing-failure/315203/1 "2022-09-26T18:48:09Z")

</div>

Hi, I started playing with metricbeat. I set logstash module

> - module: logstash  
> #metricsets:
> # - node
> 
> # - node\_stats
> period: 30s  
> hosts: ["localhost:9600"]

and it works, output is ES index. When I get last event it shows some values

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/c/acd57c168c55d6219289a05fd7a51c0265bba978.png)

But I would like to use it for real-time monitoring. If I turn off logstash and metricbeat is sending every 30s events to ES, I am quering ES every 40s, I would like to see an failure. And I can but when I turn logstash on I still see failure events, even after one hour. I thought fields will be reset every 30s.

Thanks for help

---

<div class="post-metadata">

**Author:** ![weltenwort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/weltenwort/32/53885_2.png) [@weltenwort](https://discuss.elastic.co/u/weltenwort)\
**Post date:** [October 4, 2022, 12:35pm UTC](https://discuss.elastic.co/t/metricbeat-showing-failure/315203/2 "2022-10-04T12:35:36Z")

</div>

Hi @Akaren,

> [@Akaren](#):
>
> If I turn off logstash and metricbeat is sending every 30s events to ES, I am quering ES every 40s, I would like to see an failure.

Unfortunately the failures don't end up in the normal metric indices. Could you check whether they find in the indices matching `metricbeat-*`?

> [@Akaren](#):
>
> And I can but when I turn logstash on I still see failure events, even after one hour.

What failure events are you referring to?

---

<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:** [November 1, 2022, 12:36pm UTC](https://discuss.elastic.co/t/metricbeat-showing-failure/315203/3 "2022-11-01T12:36:10Z")

</div>

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