Community Patterns

Community Library Entry

2

Regular Expression
Created·2015-09-14 18:22
Flavor·PCRE (Legacy)

/
^(\S*).*\[(.*)\]\s"(\S*)\s(\S*)\s([^"]*)"\s(\S*)\s(\S*)\s"([^"]*)"\s"([^"]*)"$
/
Open regex in editor

Description

This breaks down an Apache2 access log into 9 parts. I use this for analyzing content in my webserver logs.

Submitted by Kevin Loverde