apache / apache/ozhera

[Feature] AI-Powered Auto-Configuration for Log Collection and Parsing

Open
#650 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
122
Forks
46
Avg merge
11h 56m
Merged PRs (30d)
9

Description

### Problem
Manual configuration of log paths and Grok/Regex patterns is error-prone and time-consuming. When a new service is deployed, users often struggle to define the correct parsing rules for complex Java stack traces or JSON logs.

### Proposed Solution
Integrate Hera Agent to automate the onboarding process:
- **Log Discovery**: AI automatically scans the container/node to identify potential log files.
- **Pattern Inference**: Using LLM to analyze a sample of log lines and automatically generate the optimal Regex or parsing template.
- **One-Click Setup**: Automatically push the generated configuration to Nacos/Log-Agent without manual intervention.

### Expected Outcome
Reduce the onboarding time for new services from minutes to seconds and eliminate configuration errors.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating the Hera Agent, Nacos, and Log-Agent integration points, then assess how log discovery and pattern inference would fit together. Done means automated discovery, generated parsing configuration, and one-click delivery are demonstrated for the stated log types.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
observability-sre
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.