Compare specific fields in two documents and show on dashboard if changed

I want to compare specific field of two documents in a single index. Based on my research the way to do this is to use scripting module. The script will evaluate if the fields are the same, something like this should do doc99['field_name'].value == doc100['field_name'].value

Is it possible to build Kibana dashboard that will compare the latest document in the index to the previous document and if the field has changed update the dashboard and show the document id or index name?

If yes how would one do it?

P.S. I'm a total newbie with ES

Please don't create multiple threads on the one thing - Compare specific fields in two documents and show on dashboard if changed