You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
APISIX provides the ability to output logs from its internal Nginx component in JSON format with a customizable schema, which is incredibly useful for integration with log collection and analysis tools. However, logs generated by the Lua component do not currently support JSON formatting or schema customization.
This inconsistency complicates centralized log collection and parsing, as it requires maintaining separate parsers for Lua logs, adding complexity and operational overhead.
Proposal
Extend support for JSON-formatted logs to the Lua component.
Allow customization of the JSON schema for Lua logs, similar to the functionality provided by the Nginx component.
Benefits
Unified Logging: Consistent JSON formatting across all components (Nginx and Lua) would simplify log collection and analysis with systems like Elasticsearch, Loki, or Fluentd.
The text was updated successfully, but these errors were encountered:
Description
Summary
APISIX provides the ability to output logs from its internal Nginx component in JSON format with a customizable schema, which is incredibly useful for integration with log collection and analysis tools. However, logs generated by the Lua component do not currently support JSON formatting or schema customization.
This inconsistency complicates centralized log collection and parsing, as it requires maintaining separate parsers for Lua logs, adding complexity and operational overhead.
Proposal
Benefits
Unified Logging: Consistent JSON formatting across all components (Nginx and Lua) would simplify log collection and analysis with systems like Elasticsearch, Loki, or Fluentd.
The text was updated successfully, but these errors were encountered: