logs-nirssyan

Search Kubernetes logs in Grafana Loki using natural language queries.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/nirssyan/nirssyan-mono --skill logs-nirssyan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: logs-nirssyan
Source: https://github.com/nirssyan/nirssyan-mono/tree/main/.cursor/skills/logs-nirssyan
Command: npx skills add https://github.com/nirssyan/nirssyan-mono --skill logs-nirssyan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows users to search and retrieve logs from the Kubernetes cluster using natural language queries, simplifying debugging and issue investigation.

Core Features & Use Cases

  • Natural Language Querying: Translate user requests into LogQL queries for Grafana Loki.
  • Namespace and Container Filtering: Automatically determine the correct namespace and container based on the query.
  • JSON Log Parsing: Efficiently filter logs from Go services using structured JSON fields.
  • Use Case: When an API is returning 500 errors, you can ask the skill to "Show me all 500 errors from the go-api container in the infatium-dev namespace from the last hour."

Quick Start

Search for all error logs in the infatium-dev namespace for the app-api-go container.

Frequently Asked Questions about logs-nirssyan

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

FAQPage Schema
How do I search Kubernetes logs in Grafana Loki using natural language?

You can search Kubernetes logs in Grafana Loki using natural language by translating your requests into LogQL queries. The skill automatically maps your query intent to filter logs by namespace, container, log level, HTTP status codes, and request IDs.

Can I filter Kubernetes logs by namespace and container name?

Yes, you can filter Kubernetes logs by namespace and container name. The skill automatically determines the correct namespace and container based on your natural language query, simplifying the debugging process for specific services.

How do I query structured JSON logs from Go services in Loki?

To query structured JSON logs from Go services in Loki, the skill efficiently parses JSON log fields. This allows you to filter structured log data directly using natural language requests for specific text patterns or error types.

Does this tool require kubectl to retrieve Kubernetes logs?

No, this tool prioritizes MCP tools for querying Grafana Loki directly. It uses curl and kubectl only as fallback options when the primary MCP querying method is unavailable.

How do I find all 500 HTTP status code errors in my Kubernetes logs?

To find all 500 HTTP status code errors in your Kubernetes logs, you can ask the skill to show errors from a specific container and namespace. It translates this into a LogQL query to retrieve the relevant error logs.