How do you design log access control in a multi-team platform?
IntermediateProductionLog Pipelines
Answer
Use tenancy: one Loki tenant per team or environment (X-Scope-OrgID), with Grafana data sources per tenant and team-scoped permissions, or LBAC (label-based access control) in Grafana Enterprise/Cloud. In Elasticsearch use index-per-team plus roles. Sensitive streams (payments, auth) go to a restricted tenant. Access is granted through SSO groups and reviewed regularly.
More on Log Pipelines
What does a production log pipeline look like end to end?BeginnerWhy structured (JSON) logging, and what fields should every log line have?BeginnerFluent Bit, Vector, Grafana Alloy or the OpenTelemetry Collector: how do you choose a log agent?IntermediateWhy add an aggregation tier instead of sending directly from agents to the backend?IntermediateHow do you design log retention tiers?IntermediateHow do you scrub PII from logs in the pipeline?Intermediate