Monitor Agent-Status

Hi Community
We would like to monitor the agent-status (status = unhealthy) of an elastic agent but only with a specific integration policy included.
what would be the best way to create such a monitor in Kibana?