Skip to content

Custom Log Format #2

@crebuh

Description

@crebuh

Hi,

how can I adjust the regex to match our custom log file format from nginx?

This is our logfile format (because we have multiple sites running on one instance):

log_format custom_format '$server_name $remote_addr - $remote_user [$time_local] ' '"$request" $status $body_bytes_sent ' '"$http_referer" "$http_user_agent" "$gzip_ratio"'

Thx!

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