Loki: Prometheus-inspired logging

Loki. Prometheus-inspired logging for cloud natives.

PrometheusKubernetes

Loki is a logging backend, optimized for users running Prometheus and Kubernetes.

100% Open Source!

Loki is the latest 100% open source project from the team at Grafana Labs.

100% Open Source!

Loki is optimized to search, visualize and explore your logs natively in Grafana.

Try it out - run it yourself or get a free demo on Grafana Cloud.

See how Loki does logging

Optimized for Grafana, Prometheus and Kubernetes.

Grafana 6.0 provides a native Loki data source and a new Explore feature that makes logging a first class citizen in Grafana.

Streamline instant response, switching between metrics and logs using the same Kubernetes labels that you’re already using with Prometheus.

Designed for efficiency

Unlike most logging solutions, Loki does not parse incoming logs, or do full text indexing.

Instead, we index and group log streams using the same labels you’re already using with Prometheus. This makes it significantly more efficient to scale and operate.

Open source. Open SaaS.

Like all Grafana Labs projects, Loki is open source software. Download and run it yourself, or use it as a managed service on Grafana Cloud.

Loki is currently beta software, and your feedback will make it better.

Get Loki

Loki is currently in beta.
Install Loki

You Run It

Download Loki on Github
  • 100% Open Source by Grafana Labs
  • Static Binary, No Dependecies.
  • Apache Licensed.
Hosted Logging

We Host It

  • Instantly try a demo on Grafana Cloud
  • Free until Q2, 2019
  • No installation required
  • View your logs anywhere
Learn more about GrafanaCloud

Frequently asked questions

  • What is Loki built on?

    Loki is derived from Cortex — a CNCF incubator project that Grafana Labs helps drive. Cortex is a scale-out, multi-tenant implementation of Prometheus (another project we help drive) that powers our Grafana Cloud offering. Loki is a new standalone project, but depends on a bunch of Cortex code. It’s a long, but distinguished lineage.

  • Can I use Loki outside of Kubernetes?

    Yes, but our initial use case is very much optimized for Kubernetes. With promtail, all your Kubernetes labels for your logs are automatically set up the same way as in Prometheus. It is possible to manually label log streams, and we will be exploring integrations to make Loki play well with the wider ecosystem.

  • Loki doesn’t parse my log data. Doesn’t that make this a lot less powerful?

    Sort of. Logging has become so expensive to scale that developers are being told to “log less”: something we consider to be an anti-pattern. Loki makes different tradeoffs, allowing it to be orders of magnitude more efficient (and thus cheaper to operate) than other solutions. We think this is the right tradeoff, especially when you pair Loki with an existing metrics backend such as Prometheus.

  • What about Elasticsearch or Splunk in Grafana?

    Grafana is still about bringing your data together, wherever it lives. Loki is meant to be complementary to existing solutions like Elasticsearch and Splunk that do full text indexing. Part of the advantage of Loki is that it allows for seamless switching between logs and metrics, based on your existing labels. This opens up myriad UX benefits of using Loki with Grafana and Prometheus.

  • Beta software? Demo Cloud? Why are you announcing Loki now?

    We chose to open source Loki early, and make it available as a demo on Grafana Cloud, because we want to get valuable feedback from the wider community and ecosystem as early as possible. We believe this will help us deliver a higher quality and more on-point production release.

  • Is Loki easy to set up and scale?

    We are optimizing for a smooth experience — whether you want to try out Loki on your laptop, on your own clusters, or as a free demo on Grafana Cloud.

  • What is Grafana Labs monetization strategy with Loki?

    An overarching strategy of Grafana Labs is to provide and support a composable stack of independent and cutting edge open source projects, each of which play well in the wider ecosystem. We hope Loki will evolve to be one of those projects, and a key piece of our Cloud and Enterprise offerings.