Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Regular expression for s3 log format
^([a-f0-9]+) ([a-zA-Z0-9\-\.]+) \[([^\]]+)\] (\d+\.\d+\.\d+\.\d+) (-|[\w:/]+) (\w+) ([A-Z\._]+) ([^ ]+) "?([^"]+)"? (\d+) (-|\w+) (-|\d+) (-|\d+) (-|\d+) (-|\d+) "?([^"]+)"? "?([^"]+)"? (-|\w+)$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.