I have a index that contains date field of customers that contains date of customers to be expired. Now my task is you to compare that date with current date(dynamically) changes as current date change gives result "expired" or "not expired" in new field.
let suppose expiry date is 2020-05-28 compare with current date returns "expired" in corresponding field.
let suppose expiry date is 2021-06-11 and current date is same then shows "not expired" but tomorrow current date change to 2021-06-12 now that field automatically change from "not Expired" to expired.
I want to visualize on the dashboard after performing these task and expired status changes automatically date changes.