To configure alloy

Hello, I have a multi-tenant Loki and need to configure Alloy to set X-Scope-OrgID dynamically from log metadata (for example tenant attribute) so each log is stored under the correct tenant. Do you know how can i do that?

Loki.process → Stage.tenant

ill check it out, thanks!