Thanks for your reply. I see you count the number of unique log_id to perform the search, but it can't work for my need.
With the below dataset:
Event1: session_id=1, log_id=1
Event2: session_id=1, log_id=2
Event3: session_id=1, log_id1, log_id=2
Event4: session_id=2, log_id=1
Event5: session_id=3, log_id=1
Event5: session_id=4, log_id=2
Using you search, I have three results for session_id: 2, 3 and 4
But I expected only 2 results, session_id=2 and session_id=3. Session_id=4 must not match the Search as it is contains in an event with log_id=2.
... View more