Skip to content

Instantly share code, notes, and snippets.

@fabrizim
Created June 14, 2024 15:48
Show Gist options
  • Save fabrizim/524c73d0bf6deb993955cfda530b152f to your computer and use it in GitHub Desktop.
Save fabrizim/524c73d0bf6deb993955cfda530b152f to your computer and use it in GitHub Desktop.
convert wpengine access log to a csv (tab separated) regex
^(\S+?)\s(\S+)\s-\s\[([^\]]+)\]\s"(\S+)\s(\S+)\s(\S+)"\s(\S+)\s(\S+)\s"(\S+)"\s"([^"]+)"
$1 $2 $3 $4 $5 $6 $7 $8 $9 $10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment