# log analyzer kafka

> Expert diagnostic tool for Apache Kafka logs, identifying broker failures, consumer lag, and KRaft/ZooKeeper issues.

log analyzer kafka is a paid AI agent skill on Agensi by Ivan Firestone, in Testing & Debugging. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $1 (one-time purchase)
- Creator: [Ivan Firestone](https://www.agensi.io/creators/ifirestone)
- Category: [Testing & Debugging](https://www.agensi.io/skills/testing-debugging)
- Version: 1.0
- Last updated: 2026-10-20
- Security: scan passed (2026-10-20); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/log-analyzer-kafka
- Tags: testing, kafka, distributed-systems, troubleshooting, devops

## About this skill

Diagnosing distributed systems like Apache Kafka through raw logs is a manual, error-prone grind. This skill automates the identification of cluster health issues, consumer lag, and connectivity failures across the entire Kafka ecosystem.

### What it does
- **Multi-component parsing** processes logs from brokers, controllers, Connect, Streams, and clients (producer/consumer).
- **Architecture detection** identifies whether the cluster uses ZooKeeper or KRaft to contextualize leader election and quorum issues.
- **Error pattern matching** detects ISR shrinkage, offset ranges, rebalancing loops, and SASL/SSL handshake failures.
- **PII/Security auditing** flags sensitive data like JAAS configs, keystore passwords, and internal endpoints in red.
- **Resource monitoring** spots Disk I/O bottlenecks, GC pauses, and OOM errors affecting broker performance.

### How it works
1. **Log Ingestion** involves pasting raw logs containing markers like `kafka.server` or `org.apache.kafka.clients`.
2. **Context Elicitation** triggers specific questions about environment (PROD/DEV), replication factors, and coordination modes.
3. **Structured Analysis** maps log events to known patterns like `CommitFailedException` or `under-replicated partitions`.
4. **Report Generation** outputs a formal diagnostic report including critical findings and open questions.

### Frameworks & tools
Apache Kafka (2.x/3.x), ZooKeeper, KRaft, Kafka Connect, Kafka Streams, Confluent Platform, Strimzi, and Java-based Kafka clients.

### Why this beats prompting it yourself
Standard LLM prompts often hallucinate the severity of `under-replicated partitions` without knowing the replication factor. This skill follows a strict diagnostic framework that checks for environment-specific nuances and specific Kafka configuration limits.

### Use cases
- Troubleshooting sudden consumer group rebalancing loops in production.
- Validating KRaft migration leader election issues.
- Auditing Kafka Connect task failures and Schema Registry incompatibilities.
- Identifying PII leakage in DEBUG logs before they hit storage.

### Known limitations
Requires specific log markers to trigger; cannot analyze binary data or direct JMX metrics without log-based representation.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the log analyzer kafka skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill differ from simply pasting logs into a standard AI chatbot?

This skill acts as a specialized diagnostic engine that maps raw Kafka logs to specific distributed system failures, such as ISR shrinkage or KRaft quorum issues, which generic AI prompts often misinterpret or hallucinate.

### Which versions of Apache Kafka and coordination modes are supported?

The analyzer supports logs from Apache Kafka versions 2.x through 3.x, including both legacy ZooKeeper-based clusters and modern KRaft architectures.

### Do I need to install a plugin or agent on my Kafka brokers to use this?

No complex installation is required; simply provide the skill with raw log output containing standard Kafka markers (like 'kafka.server') to trigger the structured diagnostic workflow.

### Can this tool identify security risks or PII within my log files?

Yes, the skill automatically scans for and red-flags sensitive internal data such as JAAS configurations, keystore passwords, and internal endpoints to ensure your diagnostic reports are audit-ready.

### Are there any limitations on the types of data the analyzer can process?

The skill is designed to process textual log data and cannot directly ingest binary files, JMX metrics, or live telemetry streams unless they are represented in a log format.

### What is included in the purchase of the Log Analyzer Kafka skill?

Purchase includes full access to the diagnostic skill, supporting analysis for Kafka Brokers, Connect, Streams, and Java-based clients across production and development environments.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
