ozhera
ozhera copied to clipboard
[Feature Request] Add Extension Points to logs-stream Log Parsing Module for Config and Task Management
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
- Provide configuration extension points that allow users to add or modify parsing configurations.
- Provide task extension points that allow the insertion of custom logic during the execution of log parsing tasks.
- 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.