Skip to content

Format parse incorrect when concatenate two variables toggle without spaces in log format #42

@coldnight

Description

@coldnight

Hi, I have a log format like this:

$remote_addr [$time_local] "$host$request_uri" $status

currently gonx will parse the format as regexp:

^(?P<remote_addr>[^ ]*) \[(?P<time_local>[^]]*)\] "(?P<host>[^$]*)\$request_uri" (?P<status>[^ ]*)

the $request_uri that after $host is not parsed as a regexp.

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