loki

Manage Grafana Loki log aggregation, configuration, querying, and Promtail setup.

6|1|Updated Feb 16, 2026
One-click install
npx skills add https://github.com/L3DigitalNet/Claude-Code-Plugins --skill loki-l3digitalnet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: loki
Source: https://github.com/L3DigitalNet/Claude-Code-Plugins/tree/main/plugins/linux-sysadmin/skills/loki
Command: npx skills add https://github.com/L3DigitalNet/Claude-Code-Plugins --skill loki-l3digitalnet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of managing and analyzing logs from multiple sources by providing a robust solution for log aggregation, querying, and monitoring.

Core Features & Use Cases

  • Log Aggregation: Collects logs from various sources (systemd, Docker, applications) into a centralized system.
  • Powerful Querying: Enables efficient searching and filtering of logs using the LogQL query language.
  • Monitoring & Alerting: Facilitates setting up alerts based on log patterns and metrics.
  • Use Case: Troubleshoot application errors by quickly searching through aggregated logs from your web servers, databases, and microservices to pinpoint the root cause.

Quick Start

Use the loki skill to check the status of the loki and promtail services.

Frequently Asked Questions about loki

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I centralize logs from Docker and systemd using Grafana Loki?

To centralize logs with Grafana Loki, you configure the Promtail agent to collect logs from sources like Docker and systemd, then send them to the Loki aggregation system for unified querying. This enables searching across all services from a single interface.

How does LogQL querying work for filtering aggregated log data?

LogQL querying works by using a syntax similar to PromQL to filter and search aggregated log data in Loki. You can select log streams using labels and then refine the results using parsers, filters, and pattern matching to pinpoint specific entries.

Can I set up alerts based on log patterns with Loki and Promtail?

Yes, you can set up alerts based on log patterns using Loki and Promtail. By defining alerting rules with LogQL queries, the system evaluates log data against specific patterns or metrics and triggers notifications when thresholds are met.

Does Grafana Loki support different storage backends and retention policies?

Grafana Loki supports various storage backends for persisting log data and allows you to configure retention policies. You can define how long logs are kept and choose a storage system that fits your infrastructure scale and retention requirements.

What is the best way to troubleshoot application errors across microservices with log aggregation?

The best way to troubleshoot application errors across microservices is using log aggregation to search aggregated logs from web servers, databases, and microservices. By querying centralized logs with LogQL, you can quickly pinpoint the root cause of failures.