Skip to content

Commit

Permalink
Issue #0000: renamed the nginx parser pattern (#1855)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaali09 authored Sep 2, 2020
1 parent b50909c commit 02ae605
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ extraConfigMaps:
remove_key_name_field false
<parse>
@type regexp
expression ^(?<remote>[^ ]*) (?<host>[^ ]*) (?<user>[^ ]*) \[(?<time>[^\]]*)\] "(?<method>\S+)(?: +(?<path>[^\"]*?)(?: +\S*)?)?" (?<code>[^ ]*) (?<size>[^ ]*) (?<request_time>[^ ]+) (?<upstream_response_time>[^ ]+) (?<pipe>\.*) (?:"(?<referer>[^\"]*)" "(?<agent>[^\"]*)" "(?<traceid>[^\"]*)" "(?<deviceid>[^\"]*)" "(?<channelid>[^\"]*)" "(?<appid>[^\"]*)"(?:\s+(?<http_x_forwarded_for>[^ ]+))?)?$
expression ^(?<remote>[^ ]*) (?<host>[^ ]*) (?<user>[^ ]*) \[(?<time>[^\]]*)\] "(?<method>\S+)(?: +(?<path>[^\"]*?)(?: +\S*)?)?" (?<status>[^ ]*) (?<size>[^ ]*) (?<request_time>[^ ]+) (?<upstream_response_time>[^ ]+) (?<pipe>\.*) (?:"(?<referer>[^\"]*)" "(?<agent>[^\"]*)" "(?<traceid>[^\"]*)" "(?<deviceid>[^\"]*)" "(?<channelid>[^\"]*)" "(?<appid>[^\"]*)"(?:\s+(?<http_x_forwarded_for>[^ ]+))?)?$
time_format %d/%b/%Y:%H:%M:%S %z
</parse>
</filter>
Expand Down

0 comments on commit 02ae605

Please sign in to comment.