+
Skip to content

Consider supporting unknown fields #10

Open
@facundoolano

Description

@facundoolano

With the current implementation, when an unknown field (one that's not explicitly listed in the KNOWN_FIELDS slice) shows up in NGTOP_LOG_FORMAT, it will be ignored by the parser.

Provided that we don't want to do any special parsing of the field itself, or its derived fields, and we don't want to add cli aliases, we could rewrite the parser such that those unknown fields are taken as is and stored in a column with the same name as the log var. This would allow the tool to support other formats without code updates (and perhaps would allow to remove some of the more basic fields currently listed in KNOWN_FIELDS).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载