i used a lot of Kibana/Discover in work.
As you know, in the query result of Discover, in each log record, there may be many fields included, eg. userid, flowid, userip, username, userAction, etc.
Several log record may be correlated by some fields, eg. userid / flowid.
If i search by flowid, i can get logs relating to one flowid, this is easy to investigate log payload.
If i search by userid, i can get logs relating to one user, but maybe several flows, at this case, i can see lots of plain text on the page, it is not easy to investigate log payload.
Is there a function that i can define one or several fields as Group by key (eg. flowid) , when this key applies, in the Discover query result page (query by userid), the logs are grouped by the key (flowid) and organized, so that i can investigate flow one by one for this user?