Grafana Loki
Appearance
	
	
Grafana Loki is a log aggregation system. "Like Prometheus, but for logs."
Usage
You can configure Loki with services.loki, and pass settings with either a YAML file in configFile, or a Nix attribute set in configuration.
❄︎ /etc/nixos/configuration.nix
{
   services.loki = {
      enable = true;
      configuration = {
        auth_enabled = false;
        server.http_listen_port = 3100;
        # etc.
      };
      # or alternatively
      #configFile = ./loki-config.yaml;
   };
}
See also
- Grafana, the main project of Grafana Labs.
 - Prometheus, the equivalent of Loki for metrics.
 - How to Setup Prometheus, Grafana and Loki on NixOS
 - Configuration examples
 
	