Our system logs an event when it receives a message (with a unique key) Some time later our system also logs an event when we are ready (same unique key) There are also messages in between. I want to be able to find which messages have already arrived, but for which we do not (yet) have a "ready" event . I now have this query index = <our index> ApplicationName = <our application> | sort DOCID | stats first (_time) as start last (_time) as end by DOCID And that gives a table with 3 columns, in which sometimes there is an equal value of start and end. But I now want a list of DOCIDs that do have a start event but no end event.
... View more