I have a Python script doing continuous checks over some data in elastic.
I use the last_check time to establish the next checking interval...so, I need in some way to always store the last check timestamp.
My question is: Which is the best and elegant way to store this values? Use an index for this "settings" with a single document which will be updated every time a last check is performed?
or having multiples documents and always ask by the last value?
Any suggestion is welcome