See if this gets you started. <<your search for events>>
```Determine if the event is from today or yesterday ```
| eval day=if((now() - _time) >= (now() - relative_time(now(), "@d")),"today", "yesterday")
```Keep the most recent event today and yesterday for each URL
| dedup url, day
```List the actions for each URL```
| stats list(action) as actions, values(*) as * by url
```Keep the events with different actions
| where mvcount(actions) = 2
```Keep the events where the first action is 'allowed' and the second is 'blocked'```
| where (mvindex(actions,0)="allowed" AND mvindex(actions,1)="blocked")
... View more