Skip to content

Improve request logging format for AWS CloudWatch Logs Insights compatibility #170

Description

@gmorales96

A middleware was added to log requests; however, the current log message format is not compatible with AWS CloudWatch Logs Insights.

To enable efficient querying, fields must be structured in a way that allows Logs Insights to extract them without needing to manually parse the message field.

What needs to be done:

  • Remove the prefix from the log message so that @message starts directly with the JSON object.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions