I need to construct a query that will return a list of gaps in sequence numbers in timeseries data. This question was asked a few years ago Detecting gaps in numeric range using ElasticSearch but never received any replies.
Has anyone found a solution to this?