Are you trying to filter Grafana Loki logs that contain two strings at the same time? In this video, I’ll show you how to write LogQL queries with regex to match log entries containing multiple patterns.
```
{filename="/var/log/nginx/access.log"}
,# |=`/id/50`
,# |=`/id/11`
|~`/id/(50|11)`
```