Skip to content

Commit ee30436

Browse files
committed
clean up
1 parent 5750f80 commit ee30436

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tests/data/pixiu

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
data = [
2-
# LogFormat "%t %a %u %m %U %{User-Agent}i %{Referer}i %{X-Forwarded-For}i %{Content-Type}i %{Accept-Language}i %{Accept}i %{Accept-Encoding}i %>s %b %T" syslog
3-
42
{
3+
# LogFormat "%t %a %u %m %U %{User-Agent}i %{Referer}i %{X-Forwarded-For}i %{Content-Type}i %{Accept-Language}i %{Accept}i %{Accept-Encoding}i %>s %b %T" syslog
54
"raw": "<85>Oct 17 12:48:49 C4STO01-Node2 apache[3984033]: [17/Oct/2022:12:48:49 +0200] 127.0.0.1 - GET /api/v2/aa/current_session curl/7.69.1 - - - - */* - 200 201 0",
65
"expected": {
76
"@source_host": "C4STO01-Node2",
@@ -11,14 +10,12 @@ data = [
1110
"request": "/api/v2/aa/current_session",
1211
},
1312
},
14-
13+
{
1514
# log_format main '$remote_addr - $log_remote_user [$time_local] "$log_request" $status "$request_time" '
1615
# '$body_bytes_sent "$log_http_referer" "$log_http_user_agent" "$log_http_x_forwarded_for" '
1716
# '$upstream_addr $upstream_status "$upstream_response_time" '
1817
# '"$log_x_auth_token" "$log_x_csrf_token" "$log_cookie_x_auth_token" "$x_real_ip" '
1918
# '"$log_content_type" "$log_http_accept_language" "$log_http_accept" "$log_http_accept_encoding" ';
20-
21-
{
2219
"raw": '<174>Oct 17 12:50:42 HKSTO03-Node1 nginx 127.0.0.1 - - [17/Oct/2022:12:50:42 +0200] "GET /dsware/service/cluster/storagepool/query*** HTTP/1.1" 200 "0.062" 924 "-" "Apache-HttpClient/5.1 (Java/1.8.0_322)" "-" 127.0.0.1:9527 200 "0.064" "********" "********" "********" "127.0.0.1" "application/json;charset=UTF-8" "-" "-" "gzip, x-gzip, deflate"',
2320
"expected": {
2421
"@source_host": "HKSTO03-Node1",

0 commit comments

Comments
 (0)