Deploy Loki

Search application logs from one incident window and follow a failed transaction across the services that handled it.

USD 299 a month on Team for one server, with unlimited apps and deployment automation through the Pilae Agent. Pilae Cloud machines are rented separately.

Start deploymentInfrastructure

Runs on
Your own hardware or a Pilae Cloud region you choose
Replaces
Datadog Log Management
Licence
AGPL-3.0
Your serversAdvisoryPatchSandboxPolicyDeployLive

Grafana Loki among the engineering and security apps

Source code, container images, secrets and security events. The systems an auditor asks about first, kept where you can show them.

Grafana Loki system requirements

Before anything is deployed, this is what has to exist. We size it with you in the first session, and we say so when your own hardware is already enough.

Where it runs
Your hardwarebare metal, VMware, Proxmox, Hyper-V or Kubernetes, in your datacentrePilae Cloud regionzur1 fra1 fal1 gra1 ams1 hel1 …machines dedicated to you, in the region your contract namesAuthenticatingproxyprivate meshaccess by identityencrypted tunnelencrypted, offsiteGrafana Lokipinned, patched, watched01CollectorApplication log pipeline02IndexStream labels03StorageLog chunks and indexYour teamthe people you allowYour identity providerKeycloak or Entra IDPilae Agentplans, asks, applies, recordsPilae consolechange policy and logYour backup targetstorage you own, at asecond sitea second datacentre,same jurisdictionYour hardwareyour servers, your networkPilae Cloud regionzur1 fra1 fal1 gra1 …private meshby identitytunnelencryptedGrafana Lokipinned, patched, watched01CollectorApplication logpipeline02IndexStream labels03StorageLog chunks and indexYour teamthe people you allowYour sign-inKeycloak, Entra IDPilae Agentplans, asks, applies, recordsPilae consolepolicy and logYour backupsa second sitea second datacentre
On your hardware: the Pilae Agent installs Grafana Loki and what it needs on the machines you choose and runs beside it, and encrypted backups go to storage you own at a second location you pick.In a Pilae Cloud region: the same setup on machines dedicated to you, in the region your contract names, with encrypted backups in a second datacentre inside the same jurisdiction.
All 4 requirements, and why each is there
  1. CollectorApplication log pipelineInventory file, container and application sources. Assign collection, timestamp parsing and sensitive-field filtering to a named owner.
  2. IndexStream labelsChoose a bounded set of source attributes. Estimate active streams under deployment churn as well as ordinary load.
  3. StorageLog chunks and indexSize storage for peak daily ingestion and the agreed retention period. Record the object-store configuration needed to retrieve old chunks.
  4. AccessAuthenticating proxyDefine separate access for collectors and readers. Where several tenants share a deployment, the gateway must assign the tenant from a trusted identity.

Running Grafana Loki in production: what it takes

  1. Trace a known event

    Send a test message through a real collector and record the time until a reader can find it. Include a quiet service so a silent collector can be distinguished from a quiet application.

  2. Check a burst

    During a representative peak, compare accepted log volume with the source, examine collector retries and record how long a bounded incident query takes.

  3. Exercise expiry and recovery

    Use a test stream with an agreed expiry policy. Verify that older entries age out while newer entries remain searchable. Restore a retained interval in isolation and query it with the original labels.

Deployment reference

Which incident fields belong in the stream index?

Source fieldHow to use it
service_nameSelect a stable service such as checkout to narrow the search.
environmentSeparate a small number of deployment environments such as staging and production.
request_idKeep this high-cardinality identifier in structured metadata or the log body for investigation.
Example field choices based on Grafana’s Loki label guidance. Distinct combinations of indexed labels create distinct streams.

Migrating from Datadog Log Management to Grafana Loki

Select one application that writes a transaction reference across several services. Rehearse an investigation in both systems before moving its collectors. Existing dashboards, parsing rules, monitors and historical log archives each need their own migration decision.

Moving from Datadog Log Management to Grafana Loki, step by step

  1. Inventory incident searches: Save the time range, time zone, filters and expected records for a resolved incident. Record which fields collectors add and which fields the application itself writes.
  2. Mirror a narrow stream: Route an approved service to both destinations during a pilot. Map its service and environment to stable labels, preserve event timestamps and review the fields retained after redaction.
  3. Compare deliveries: Send a sequence of numbered synthetic events and look for each number on both sides. Compare occurrence times, duplicates, missing numbers and the original message text. Inspect late arrivals before closing the test interval.
  4. Transfer query ownership: Have an on-call engineer repeat the saved investigation and confirm access to the legacy archive. Move one collector route at a time. If delivery or lookup fails, restore its previous route and reconcile buffered events before resuming.

What Grafana Loki is, and who runs it

Follow a payment retry through two services

A checkout service records a payment attempt at 10:04. A fulfilment worker records a second attempt a few seconds later. Give the on-call engineer the transaction reference and those two service names. In Loki, the engineer can narrow the search to the production streams for the relevant interval, then look for the reference inside the selected records. A request identifier used as an indexed label would create a new stream for each value. A stable service label keeps successive requests together. Loki label guidance

The team can open the records in Grafana alongside its service dashboard. If an investigation also needs to show the time spent inside each downstream call, include a tracing system such as SigNoz in the assessment. Agree how the application will carry a common identifier between those signals.

Read the full briefFold the brief

Decide who can read the incident window

A log line can carry an email address, session value or account number even when the dashboard only displays a count. Review sample records with their owners before enabling ingestion. Loki relies on an authenticating proxy. An organisation sharing one installation across departments must agree who assigns the tenant and who can query it. Loki authentication guidance

Bring a retention schedule and a period of representative ingestion to that review. A deployment can start with Loki components in one process, while a larger workload can separate services. For a supported index using the Compactor, enable retention deliberately and keep the object-store lifecycle longer than Loki’s retention period. Deployment modes · Retention configuration · Project licence

For a team preparing to move existing log inputs and search workflows, the Graylog deployment guide gives a second migration example and sets out the operator licensing question.

What the managed plans cover

Compare the operating responsibilities included in Pilae’s plans. How the platform does it.

Ours

  • A pinned version: A version we have run, not whatever latest resolves to that day.
  • A runbook: What it depends on, how it fails, what to do about it. In your repository.
  • Daily backups: Encrypted and offsite, and on Business and Enterprise restored every month. A backup nobody has restored is a file.
  • A patch window: The agent applies security updates automatically in your window, with a rollback ready.
  • Continuous monitoring: Every endpoint probed on the minute. Alerts reach your team, and on Business and Enterprise a Pilae engineer too.

Yours

  • The credentials: You hold them. Ours are separate, named, logged and revocable with one command.
  • The change policy: The agent applies updates automatically in your window. You can require human approval for selected changes or for every update.
  • The exit: The machines, data, deployment configuration and runbook are already yours. Nothing stops when our access does.

Who runs it

Grafana Loki runs on every plan. Team is USD 299 a month for up to 3 servers (yours, or Pilae Cloud machines at their own price) and unlimited apps, with no charge per server.

Compare the plans

Grafana Loki: common questions

Do we need Grafana to collect the logs?

Collectors send logs to Loki. Grafana provides an interface for exploring them and relating an incident window to dashboard data. Inventory both the collector configuration and the queries used by responders.

Can each team see just its own records?

Define tenant boundaries and enforce them at the authenticating gateway. Test a permitted query and a denied cross-team request using representative accounts before enabling production readers.

Will changing collectors bring our old incidents across?

A new route sends new records. Keep the old archive and its search instructions available for the agreed interval, or scope a separately tested historical transfer.

What information does Pilae need to scope a deployment?

Bring peak and ordinary log volumes, a sample with sensitive values removed, the number of active sources, retention by tenant and one time-bounded investigation the on-call team needs to complete.

Talk to an engineer about your Grafana Loki

Tell us about the deployment you already have, or the one you are about to start.

Start deployment

Compare plans and prices, or write to us with a question this page leaves open.