Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
Squid access.log
Open Workspace
PCRE (Legacy)
Match
Created 2015-10-06 16:53
0
Regular Expression
/
^
(?<time>
\d
{10}
.\d
{3}
)
\s
+
(?<elapsed>
\d
+
)
\s
(?<remotehost>
\S
+
)
\s
(?<code_status>
\S
+
)
\s
(?<bytes>
\d
+
)
\s
(?<method>
\S
+
)
\s
(?<url>
\S
+
)
\s
(?<rfc931>
\S
+
)
\s
(?<peer_status>
\S
+
)
\s
(?<type>
\S
+
)
/
Description
cut/paste into fluentd/td-agent config
Submitted by
HoBoJo