initial commit
This commit is contained in:
commit
885e7d6e02
22 changed files with 3001 additions and 0 deletions
6
internal/parser/testdata/access.log
vendored
Normal file
6
internal/parser/testdata/access.log
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
192.168.1.1 - frank [10/Oct/2000:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 "http://www.example.com/start.html" "Mozilla/4.08 [en] (Win98; I ;Nav)"
|
||||
10.0.0.1 - - [15/Jan/2024:08:23:41 +0000] "POST /api/users HTTP/1.1" 201 512 "-" "curl/7.68.0"
|
||||
172.16.0.50 - admin [01/Mar/2024:12:00:00 +0100] "DELETE /resource/42 HTTP/1.1" 404 0 "https://example.org/page" "Mozilla/5.0"
|
||||
2001:db8::1 - - [20/Feb/2024:16:45:00 +0000] "GET /index.html HTTP/2.0" 200 4096 "-" "Googlebot/2.1"
|
||||
this is a malformed line that should be skipped
|
||||
127.0.0.1 - - [22/Feb/2024:10:00:00 +0000] "GET /health HTTP/1.1" 200 - "-" "kube-probe/1.27"
|
||||
BIN
internal/parser/testdata/access.log.1.gz
vendored
Normal file
BIN
internal/parser/testdata/access.log.1.gz
vendored
Normal file
Binary file not shown.
6
internal/parser/testdata/error.log
vendored
Normal file
6
internal/parser/testdata/error.log
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
2024/02/20 16:45:01 [error] 1234#5678: *99 connect() failed (111: Connection refused) while connecting to upstream
|
||||
2024/02/20 17:00:00 [warn] 1234#5678: worker process 9999 exited on signal 15
|
||||
2024/02/21 08:30:00 [info] 1234#5678: start worker process 10001
|
||||
2024/02/21 09:00:00 [crit] 9999#0: *1 SSL_do_handshake() failed (SSL: error:14094412) while SSL handshaking
|
||||
this is a malformed error line
|
||||
2024/02/22 10:00:00 [notice] 1234#5678: signal process started
|
||||
Loading…
Reference in a new issue