In a multi-tenant system, You'd have to specify the org-id as "undefined", or no data will come back:
logcli --org-id="undefined" query '{your_label="your_label_value"}'
If you are using the HTTP API, you'd have to set the
X-Scope-OrgID header to "undefined". Screenshot from my Chrome's ModHeader:
Credit: Tyler Owen