index=conversation botId=ccb | eval intent_count=if(like(intent,"%"), "1", "0") | stats sum(intent_count) as intent_count by sessionId | where intent_count >= 2 | addtotals col=t row=f labelfield=sessionId label="Total Sessions with More Than 2 Intents" | append [search index=conversation botId=ccb | eval intent_count=if(like(intent,"%"), "1", "0") | stats sum(intent_count) as intent_count by sessionId | addtotals row=f col=t labelfield=sessionId label="Total Sessions with Less Than 2 Intents" | where intent_count < 2] | search sessionId="Total Session*" This will return the results with two different column totals. The last Search is just a filter to only the totals will show, but if you want the sessionId's to be listed as well you can just take out that last line. Is this more what you were looking for?
... View more