'How to fire alert in Elasticsearch if any value in a specific field stops appearing?

In my index, if any value has appeared in a specific field every day in the last 3 days, I expect to see this value at least once every day in the future. I want to receive an alert if any such value suddenly stops showing up (i.e., such a value does not appear in a full day 00:00am to 11:59pm). How do I approach this problem without having to manually enumerate all possible values for the field?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source