log-dive

Translate natural language queries into LogQL, Elasticsearch DSL, or CloudWatch filter patterns.

10|2|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/cacheforge-ai/cacheforge-skills --skill log-dive
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: log-dive
Source: https://github.com/cacheforge-ai/cacheforge-skills/tree/main/skills/log-dive
Command: npx skills add https://github.com/cacheforge-ai/cacheforge-skills --skill log-dive

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, aws, curl, logcli, and includes scripts (resource) components.

What problem does it solve?

log-dive provides a single interface to search logs across multiple backends (Loki, Elasticsearch/OpenSearch, CloudWatch), reducing context switching and speeding incident analysis.

Core Features & Use Cases

  • Unified multi-backend search that translates natural language queries into LogQL, Elasticsearch DSL, or CloudWatch filter patterns for fast root-cause analysis.
  • Read-only operation with safe defaults and structured, actionable output suitable for incident reviews.
  • Use cases include triage during incidents, cross-service correlation, and post-incident postmortems across diverse environments.

Quick Start

Configure at least one backend (Loki, Elasticsearch/OpenSearch, or CloudWatch) and start asking natural-language questions to search logs.

Frequently Asked Questions about log-dive

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

FAQPage Schema
How do I search logs across CloudWatch, Loki, and Elasticsearch at the same time?

You can search logs across CloudWatch, Loki, and Elasticsearch by translating natural language queries into backend-specific syntax like LogQL or Elasticsearch DSL, returning structured summaries for fast root-cause analysis.

Can I use natural language to query CloudWatch logs for incident triage?

Yes, you can use natural language to query CloudWatch logs for incident triage. The system translates your questions into CloudWatch filter patterns, enabling read-only searches without needing to know the exact query syntax.

What is the best way to correlate logs across multiple backends during an incident?

The best way to correlate logs across multiple backends during an incident is using a unified search interface that translates natural language into backend-specific queries, reducing context switching and speeding up cross-service root-cause analysis.

Do I need to configure read-only access for Loki and Elasticsearch before searching logs?

Yes, you need to configure read-only access for Loki and Elasticsearch before searching logs. The system enforces environment-driven backend configuration with safe defaults to ensure queries do not modify any log data.

Does log search across multiple backends support live-tail capabilities?

Yes, multi-backend log search supports optional live-tail capabilities. You can stream live logs across configured environments while using natural language queries for real-time incident response and monitoring.

What limitations exist when using natural language queries for post-incident log reviews?

A limitation of using natural language queries for post-incident log reviews is that the system operates strictly in read-only mode and relies on environment-driven backend configuration, meaning it cannot mutate data or query unconfigured log sources.