XiaoMi / ozhera

Application Observable Platform in the Cloud Native Era
https://ozhera.m.one.mi.com
Apache License 2.0
59 stars 28 forks source link

[Feature Request] Enhance JSON Log Parsing with Nested Field Support and Field Exclusion #381

Open wtt40122 opened 6 days ago

wtt40122 commented 6 days ago

Description

Our current logging system has some limitations when parsing JSON-formatted log content. To improve the flexibility and efficiency of log parsing, we propose to add support for parsing nested fields within JSON logs and to allow the exclusion of unnecessary fields during the parsing process.

User Stories

Expected Features

  1. Add the capability to parse nested fields in JSON logs, allowing access to nested data based on specified paths.
  2. Provide configuration options that let users define and exclude fields that are not required for parsing, to optimize performance and resource usage.

Use Cases