From ffdb83a00f88add67ba9cdc93362f7f78b2c8d57 Mon Sep 17 00:00:00 2001 From: Yuanle Song <sylecn@gmail.com> Date: Tue, 8 Sep 2015 10:23:33 +0800 Subject: [PATCH] add apache2 LogFormat directive in README --- README | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README b/README index 6750fb0..8cfb2ef 100644 --- a/README +++ b/README @@ -1,10 +1,12 @@ * COMMENT -*- mode: org -*- #+Date: 2015-09-07 -Time-stamp: <2015-09-07> +Time-stamp: <2015-09-08> * 2015-09-07 write an apache2 access log parser in haskell. practice using attoparsec. +LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %D" keystone + 10.21.176.7 - - [06/Sep/2015:06:26:02 +0800] "GET /v3/auth/tokens HTTP/1.1" 200 3997 "-" "-" 1011068 10.21.176.7 - - [06/Sep/2015:06:26:03 +0800] "GET /v3/auth/tokens HTTP/1.1" 200 4065 "-" "python-requests/2.2.1 CPython/2.7.3 Linux/3.13.0-38-generic" 5481 10.21.176.7 - - [06/Sep/2015:06:26:02 +0800] "GET /v2.0/tokens/e79ce79f16f04852a7d981009090fb75 HTTP/1.1" 200 2692 "-" "python-requests/2.2.1 CPython/2.7.3 Linux/3.13.0-40-generic" 879293 -- GitLab