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


#1

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


(Mark Walkom) #2

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


(Mark Walkom) #3