Is it possible to select multiple log streams

I understand that a query can return streams that contain multiple labels example:

logcli query '{service="api",service="scheduler"}'

This would return logs that have both the labels service=api and service=scheduler

Is it possible to do a single query that returns logs that have service=api or server=scheduler ?

Hey @cblument

You can use regex:
logcli query '{service=~"api|scheduler"}'

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.