apache / apache/ozhera

[Feature Request] Add Extension Points to logs-stream Log Parsing Module for Config and Task Management

Open
#421 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

## Description
The current `logs-stream` log parsing module lacks some flexible extension points, which limits our ability to control configuration content and the task execution process. To enhance the module's extensibility and adaptability, we propose to add some extension points.

## User Stories
- As a **system administrator**, I want to be able to customize log parsing configurations through extension points to accommodate various log formats and parsing rules.
- As a **developer**, I want to be able to inject custom logic to handle specific log parsing tasks.

## Expected Features
1. Provide configuration extension points that allow users to add or modify parsing configurations.
2. Provide task extension points that allow the insertion of custom logic during the execution of log parsing tasks.
3. Support error handling and logging for configurations and logic added through extension points.

## Implementation Suggestions
- Design a plugin system that allows third-party developers to contribute custom parsers and processors.
- Provide an extension mechanism for APIs or configuration files to integrate custom logic.

Contributor guide

Open the contributing guide

Research direction

Start by locating the logs-stream log parsing module and tracing its configuration and task execution entry points. Define what configuration and task extension points must support, including custom logic, error handling, and logging; done means the requested plugin or extension mechanism is specified and covered by appropriate tests.

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
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.