Skip to content

Commit e035c4e

Browse files
committed
chore: small fix on nginx_access_log_to_jsonl.py
1 parent ec56311 commit e035c4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/utils/logs/nginx_access_log_to_jsonl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def nginx_time(time_str):
7171
COMBINED_REGEXP = re.compile(
7272
r"""
7373
^(?P<remote_addr>[^-]*)\ ?-
74-
\ (?P<remote_user>[^[]*)\ ?-?
74+
\ (?P<remote_user>[^[]*)\ *
7575
\ \[(?P<time_local>[^]]*)\]
7676
\ "(?P<request>[^"]*)"
7777
\ (?P<status>\d+)

0 commit comments

Comments
 (0)