Skip to content

Host header in the logs #128

@fprina

Description

@fprina

Hi All,

Does anyone know if it’s possible to include the Host header in Coraza logs?

I’m using a container that logs to stdout and need a way to assign each matched rule to the site the request is coming from.
Lookup the coraza id in the haproxy logs need too much effort for the current needs

Before the last change, I was generating an ugly unique-id in haproxy that included the Host header, but now that Coraza generates the ID, I’ve lost that ability.

Any suggestions would be appreciated.

Thanks

Metadata

Metadata

Assignees

No one assigned

    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