Hi @mohsin106
Ok my curiosity pulled me into this 
What version Elastic are you on? (Important)
It seems we jumped right into solutioning, prehaps we can spend a couple more minutes understanding the use case.
You have N cards / devices that report Y times a minute/sec with a field empty with a boolean value.
What are the gross values of N and Y (number of devices, period of reporting)
And lets say Alerting runs on a schedule, lets say it runs every 1 minute
What exactly are you looking for?
A) Say empty field goes from true to false are you looking for that least one state change and the last value of that state change?
B) What if in that minute the device goes from true to false to true
C) is that 2 state changes?
D) is that no state change?
E) Do you want to detect flapping? (going back and forth)
Or maybe these devices only report every 5 minutes and then when you look every minute, that is a whole different perspective / approach.
Elastic alerting in general is aggregation-based, but with transforms, ESQL etc there are more techniques to apply than there was just a short time ago
There are a number of techniques that can be used but understanding these details are important. (BTW I could see using Latest with Enrich to compare the Incoming Document with the Last value ... a little complex but I could see that... I would probably use ESQL or something)
Sooooo @mohsin106 What are you actually trying to accomplish...