Take an OpenSearch search application from requirements to a running cluster — BM25, dense and sparse vectors, hybrid retrieval, agentic search and RAG, with relevance evaluation built in.
OpenSearch Log Analytics
Summary
Query and analyse logs held in OpenSearch using PPL and Query DSL — error-pattern discovery, error-rate tracking and anomaly detection, driven from natural language.
Features
- Writes PPL and Query DSL against OpenSearch log indices from a plain-language question
- Error-pattern discovery, error-rate tracking and log anomaly detection workflows
- Index discovery and mapping inspection before querying
- Works against self-managed, Amazon OpenSearch Service and Serverless clusters
- Optional opensearch-mcp-server tools for direct cluster API access
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Usage Instructions
Learn how to use this skill with different AI agents.
Description
Piped Processing Language is the fastest way to interrogate logs in OpenSearch and one of the least memorised query languages in ops. This official OpenSearch Project skill closes that gap by giving an agent the syntax, the idioms and the investigative workflows to answer log questions without the operator having to recall PPL from scratch.
The skill turns the agent into a log analytics specialist over an existing OpenSearch cluster. It handles index discovery and mapping inspection first, then composes PPL or Query DSL for the actual question: which errors are spiking, what patterns cluster together, how error rates move over a window, and where an anomaly starts. It is aimed squarely at incident work — the moment when someone needs an answer out of log data and does not have a saved dashboard for the shape of the problem in front of them.
Activation is intentionally generous. The skill declares itself for log querying, error-pattern analysis, anomaly detection and application investigation, and fires on adjacent terms such as Fluent Bit, Fluentd, Logstash, syslog, PPL and error rate even when OpenSearch is never named.
Requirements are modest: a running OpenSearch cluster (self-managed, Amazon OpenSearch Service or Serverless) with the built-in SQL plugin that provides PPL, plus uv for the helper scripts. Connecting opensearch-mcp-server-py is optional but gives the agent direct API access — ListIndexTool, IndexMappingTool, SearchIndexTool and GenericOpenSearchApiTool for PPL — with SigV4 authentication handled for managed and serverless domains.
Apache 2.0 licensed and part of the OpenSearch Project's agent skills collection, which works with Claude Code, Cursor, Kiro and any Agent Skills-compatible agent.
Related Skills
Auth0's official agent skill: a router that detects your framework and intent, then loads the right Auth0 guidance for login, MFA, Organizations, tenant audits, debugging or provider migration.
Redis' own guidance for FT.CREATE schema design, FT.SEARCH / FT.AGGREGATE / FT.HYBRID, HNSW vector similarity and RAG retrieval pipelines.
Supabase's official skill covering Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron and Queues — with a hard rule to verify against the live changelog before writing code.