No alert on missing data - Kibana

Hello,

I have set up alerts on the metric threshold like the one below.


But when I stop the metricbeat on a server the state from "Active" changes to "Recovered" and no missing data alert is created.

I was testing with:
1.) "Alert me if a group stops reporting data" option only checked
2.) "Alert me if a group stops reporting data" and "Alert me if there's no data" checked
3.) "Alert me if there's no data" option only checked

But the results were the same.

Do you have any idea what could be the problem here?

Any suggestions?

Ok so basically...

This feature works well...

What I come to is:
1.) If you just turn off beat on a machine no missing data alert will be generated
2.) If you mess up your system.yml configuration because you want to have some data more frequently then you will surprisingly get the notification.

Messed up config

- module: system
  period: 15s
  metricsets:
    - cpu
    - load
    - memory
    #- network
    - process
    - process_summary
    #- socket_summary
    #- entropy
    - core
    - diskio
    - socket
    - service
    - users
  period: 1s
  metricsets:
    - network
    - socket_summary

Good config

- module: system
  period: 15s
  metricsets:
    - cpu
    - load
    - memory
    #- network
    - process
    - process_summary
    #- socket_summary
    #- entropy
    - core
    - diskio
    - socket
    - service
    - users
- module: system
  period: 1s
  metricsets:
    - network
    - socket_summary

P.S.
both enabled:

  • Alert me if there's no data
  • Alert me if a group stops reporting data