Discrete plugin and elasticsearch query output

Hi all! i’m new to grafana but i’ve found it very cool. i’m trying to add a discrete panel to visualize RDP session active on my hosts, i can query elasticsearch (used as graylog backend) and find the value thath set a session start and session end, what i need is to draw a coloured row for any remote session, the remote session start winth field1:21 and end with field1:22 or 23 … there is another field that correlate those events, it’s sessionID, for a concrete example: a valid session start when an event 21 is found and end with a 22 or 23 with the same session ID on the same host … there isn’t discrete plugin documentation … can someone help me?