Skip to content

Instantly share code, notes, and snippets.

@tairov
Last active August 29, 2015 14:26
Show Gist options
  • Select an option

  • Save tairov/8bde0e8af8d6cbe418c5 to your computer and use it in GitHub Desktop.

Select an option

Save tairov/8bde0e8af8d6cbe418c5 to your computer and use it in GitHub Desktop.
perl pe
echo '00.00.00.00 - - [06/Aug/2015:08:31:21 +0300] "POST /0.6.5/api/soap/service_client?ping HTTP/1.1" 200 542 "host.com/url" "-" 0.084 0.051 rid30068286'
| perl -pe 's|((\d+\.?){4,4}).*?POST\s+\/(.+?)\/.+?\s"(.+?)\/.*$|$1\t$3\t$4|g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment