We are trying to setup chef infrastructure in our environment .
Till now I have install chef server 11.0 and have configured it, but while trying to access web interface with default credentials I'm getting following error,
we're sorry but something went wrong
following is some content of access.log file at /var/nginx/access.log
10.11.60.29 - - [25/Aug/2016:00:03:49 -0700] "GET /users/login HTTP/1.1" 304 "0.016" 0 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.016" "-" "-" "-" "-" "-" 680
10.11.60.29 - - [25/Aug/2016:00:03:50 -0700] "GET /assets/application-34d2931a4024e71f18837a713e905ef6.css HTTP/1.1" 304 "0.004" 0 "https://10.11.60.29/users/login" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.004" "-" "-" "-" "-" "-" 771
10.11.60.29 - - [25/Aug/2016:00:03:50 -0700] "GET /assets/application-39449c5463355a4c86a07971a900b9f4.js HTTP/1.1" 304 "0.272" 0 "https://10.11.60.29/users/login" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.003" "-" "-" "-" "-" "-" 755
10.11.60.29 - - [25/Aug/2016:00:03:51 -0700] "GET /assets/facebox/loading.gif HTTP/1.1" 304 "0.013" 0 "https://10.11.60.29/users/login" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.013" "-" "-" "-" "-" "-" 757
10.11.60.29 - - [25/Aug/2016:00:03:51 -0700] "GET /assets/facebox/closelabel.gif HTTP/1.1" 304 "0.018" 0 "https://10.11.60.29/users/login" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.018" "-" "-" "-" "-" "-" 760
10.11.60.29 - - [25/Aug/2016:00:03:52 -0700] "GET /assets/facebox/tl.png HTTP/1.1" 304 "0.796" 0 "https://10.11.60.29/assets/application-34d2931a4024e71f18837a713e905ef6.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.016" "-" "-" "-" "-" "-" 796
10.11.60.29 - - [25/Aug/2016:00:03:52 -0700] "GET /assets/facebox/br.png HTTP/1.1" 304 "0.016" 0 "https://10.11.60.29/assets/application-34d2931a4024e71f18837a713e905ef6.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.016" "-" "-" "-" "-" "-" 796
10.11.60.29 - - [25/Aug/2016:00:03:52 -0700] "GET /assets/facebox/b.png HTTP/1.1" 304 "0.806" 0 "https://10.11.60.29/assets/application-34d2931a4024e71f18837a713e905ef6.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.026" "-" "-" "-" "-" "-" 795
10.11.60.29 - - [25/Aug/2016:00:03:52 -0700] "GET /assets/facebox/tr.png HTTP/1.1" 304 "0.812" 0 "https://10.11.60.29/assets/application-34d2931a4024e71f18837a713e905ef6.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.032" "-" "-" "-" "-" "-" 796
10.11.60.29 - - [25/Aug/2016:00:03:52 -0700] "GET /assets/facebox/bl.png HTTP/1.1" 304 "0.816" 0 "https://10.11.60.29/assets/application-34d2931a4024e71f18837a713e905ef6.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.037" "-" "-" "-" "-" "-" 796
10.11.60.29 - - [25/Aug/2016:00:04:02 -0700] "POST /users/login_exec HTTP/1.1" 500 "0.027" 643 "https://10.11.60.29/users/login" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "500" "0.027" "-" "-" "-" "-" "-" 855
10.11.60.29 - - [25/Aug/2016:00:14:48 -0700] "GET /users/login HTTP/1.1" 304 "0.189" 0 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.186" "-" "-" "-" "-" "-" 680
10.11.60.29 - - [25/Aug/2016:00:14:49 -0700] "GET /assets/application-39449c5463355a4c86a07971a900b9f4.js HTTP/1.1" 304 "0.006" 0 "https://10.11.60.29/users/login" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.006" "-" "-" "-" "-" "-" 755
10.11.60.29 - - [25/Aug/2016:00:14:49 -0700] "GET /assets/application-34d2931a4024e71f18837a713e905ef6.css HTTP/1.1" 304 "0.567" 0 "https://10.11.60.29/users/login" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.008" "-" "-" "-" "-" "-" 771
10.11.60.29 - - [25/Aug/2016:00:14:49 -0700] "GET /assets/facebox/loading.gif HTTP/1.1" 304 "0.010" 0 "https://10.11.60.29/users/login" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.010" "-" "-" "-" "-" "-" 757
10.11.60.29 - - [25/Aug/2016:00:14:49 -0700] "GET /assets/facebox/closelabel.gif HTTP/1.1" 304 "0.051" 0 "https://10.11.60.29/users/login" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.051" "-" "-" "-" "-" "-" 760
10.11.60.29 - - [25/Aug/2016:00:14:50 -0700] "GET /assets/facebox/b.png HTTP/1.1" 304 "0.175" 0 "https://10.11.60.29/assets/application-34d2931a4024e71f18837a713e905ef6.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.007" "-" "-" "-" "-" "-" 795
10.11.60.29 - - [25/Aug/2016:00:14:50 -0700] "GET /assets/facebox/tl.png HTTP/1.1" 304 "0.175" 0 "https://10.11.60.29/assets/application-34d2931a4024e71f18837a713e905ef6.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.007" "-" "-" "-" "-" "-" 796
10.11.60.29 - - [25/Aug/2016:00:14:50 -0700] "GET /assets/facebox/bl.png HTTP/1.1" 304 "0.010" 0 "https://10.11.60.29/assets/application-34d2931a4024e71f18837a713e905ef6.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.010" "-" "-" "-" "-" "-" 796
10.11.60.29 - - [25/Aug/2016:00:14:50 -0700] "GET /assets/facebox/tr.png HTTP/1.1" 304 "0.012" 0 "https://10.11.60.29/assets/application-34d2931a4024e71f18837a713e905ef6.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.012" "-" "-" "-" "-" "-" 796
10.11.60.29 - - [25/Aug/2016:00:14:50 -0700] "GET /assets/facebox/br.png HTTP/1.1" 304 "0.233" 0 "https://10.11.60.29/assets/application-34d2931a4024e71f18837a713e905ef6.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.006" "-" "-" "-" "-" "-" 796
10.11.60.29 - - [25/Aug/2016:00:14:55 -0700] "-" 400 "5.473" 0 "-" "-" "-" "-" "-" "-" "-" "-" "-" "-" 0
10.11.60.29 - - [25/Aug/2016:00:15:09 -0700] "POST /users/login_exec HTTP/1.1" 500 "0.321" 643 "https://10.11.60.29/users/login" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "500" "0.321" "-" "-" "-" "-" "-" 846
10.11.60.29 - - [25/Aug/2016:00:20:26 -0700] "GET / HTTP/1.1" 302 "0.356" 108 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "302" "0.161" "-" "-" "-" "-" "-" 592
10.11.60.29 - - [25/Aug/2016:00:20:27 -0700] "GET /users/login HTTP/1.1" 200 "0.175" 1133 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "200" "0.175" "-" "-" "-" "-" "-" 866
10.11.60.29 - - [25/Aug/2016:00:20:28 -0700] "GET /assets/facebox/closelabel.gif HTTP/1.1" 304 "0.010" 0 "https://10.11.60.29/users/login" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.010" "-" "-" "-" "-" "-" 950
10.11.60.29 - - [25/Aug/2016:00:20:28 -0700] "GET /assets/facebox/loading.gif HTTP/1.1" 304 "2.304" 0 "https://10.11.60.29/users/login" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.078" "-" "-" "-" "-" "-" 947
10.11.60.29 - - [25/Aug/2016:00:20:28 -0700] "GET /assets/facebox/tl.png HTTP/1.1" 304 "0.164" 0 "https://10.11.60.29/assets/application-34d2931a4024e71f18837a713e905ef6.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.008" "-" "-" "-" "-" "-" 986
10.11.60.29 - - [25/Aug/2016:00:20:29 -0700] "GET /assets/facebox/br.png HTTP/1.1" 304 "0.010" 0 "https://10.11.60.29/assets/application-34d2931a4024e71f18837a713e905ef6.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.010" "-" "-" "-" "-" "-" 986
10.11.60.29 - - [25/Aug/2016:00:20:29 -0700] "GET /assets/facebox/b.png HTTP/1.1" 304 "0.466" 0 "https://10.11.60.29/assets/application-34d2931a4024e71f18837a713e905ef6.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.010" "-" "-" "-" "-" "-" 985
10.11.60.29 - - [25/Aug/2016:00:20:29 -0700] "GET /assets/facebox/bl.png HTTP/1.1" 304 "0.418" 0 "https://10.11.60.29/assets/application-34d2931a4024e71f18837a713e905ef6.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.013" "-" "-" "-" "-" "-" 986
10.11.60.29 - - [25/Aug/2016:00:20:29 -0700] "GET /assets/facebox/tr.png HTTP/1.1" 304 "0.720" 0 "https://10.11.60.29/assets/application-34d2931a4024e71f18837a713e905ef6.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.016" "-" "-" "-" "-" "-" 986
10.11.60.29 - - [25/Aug/2016:00:20:47 -0700] "POST /users/login_exec HTTP/1.1" 500 "0.126" 643 "https://10.11.60.29/users/login" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "500" "0.126" "-" "-" "-" "-" "-" 1062
10.11.60.29 - - [25/Aug/2016:00:27:38 -0700] "GET / HTTP/1.1" 302 "0.100" 108 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "302" "0.093" "-" "-" "-" "-" "-" 808
10.11.60.29 - - [25/Aug/2016:00:27:38 -0700] "GET /users/login HTTP/1.1" 304 "0.025" 0 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.025" "-" "-" "-" "-" "-" 866
10.11.60.29 - - [25/Aug/2016:00:27:39 -0700] "GET /assets/facebox/closelabel.gif HTTP/1.1" 304 "0.008" 0 "https://10.11.60.29/users/login" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.008" "-" "-" "-" "-" "-" 950
10.11.60.29 - - [25/Aug/2016:00:27:40 -0700] "GET /assets/facebox/tl.png HTTP/1.1" 304 "0.841" 0 "https://10.11.60.29/assets/application-34d2931a4024e71f18837a713e905ef6.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.008" "-" "-" "-" "-" "-" 986
10.11.60.29 - - [25/Aug/2016:00:27:40 -0700] "GET /assets/facebox/b.png HTTP/1.1" 304 "0.845" 0 "https://10.11.60.29/assets/application-34d2931a4024e71f18837a713e905ef6.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.012" "-" "-" "-" "-" "-" 985
10.11.60.29 - - [25/Aug/2016:00:27:40 -0700] "GET /assets/facebox/loading.gif HTTP/1.1" 304 "0.849" 0 "https://10.11.60.29/users/login" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.016" "-" "-" "-" "-" "-" 947
10.11.60.29 - - [25/Aug/2016:00:27:40 -0700] "GET /assets/facebox/bl.png HTTP/1.1" 304 "0.852" 0 "https://10.11.60.29/assets/application-34d2931a4024e71f18837a713e905ef6.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.020" "-" "-" "-" "-" "-" 986
10.11.60.29 - - [25/Aug/2016:00:27:40 -0700] "GET /assets/facebox/br.png HTTP/1.1" 304 "0.026" 0 "https://10.11.60.29/assets/application-34d2931a4024e71f18837a713e905ef6.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.026" "-" "-" "-" "-" "-" 986
10.11.60.29 - - [25/Aug/2016:00:27:40 -0700] "GET /assets/facebox/tr.png HTTP/1.1" 304 "0.859" 0 "https://10.11.60.29/assets/application-34d2931a4024e71f18837a713e905ef6.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.027" "-" "-" "-" "-" "-" 986
10.11.60.29 - - [25/Aug/2016:00:27:54 -0700] "POST /users/login_exec HTTP/1.1" 500 "0.275" 643 "https://10.11.60.29/users/login" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "500" "0.275" "-" "-" "-" "-" "-" 1062
10.11.60.29 - - [25/Aug/2016:00:28:25 -0700] "GET /users/login HTTP/1.1" 200 "0.022" 1062 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "200" "0.022" "-" "-" "-" "-" "-" 896
10.11.60.29 - - [25/Aug/2016:00:28:26 -0700] "GET /assets/application-34d2931a4024e71f18837a713e905ef6.css HTTP/1.1" 304 "0.003" 0 "https://10.11.60.29/users/login" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.003" "-" "-" "-" "-" "-" 771
10.11.60.29 - - [25/Aug/2016:00:28:26 -0700] "GET /assets/application-39449c5463355a4c86a07971a900b9f4.js HTTP/1.1" 304 "0.005" 0 "https://10.11.60.29/users/login" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.005" "-" "-" "-" "-" "-" 755
10.11.60.29 - - [25/Aug/2016:00:28:26 -0700] "GET /assets/facebox/closelabel.gif HTTP/1.1" 304 "0.004" 0 "https://10.11.60.29/users/login" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.004" "-" "-" "-" "-" "-" 760
10.11.60.29 - - [25/Aug/2016:00:28:26 -0700] "GET /assets/facebox/loading.gif HTTP/1.1" 304 "0.007" 0 "https://10.11.60.29/users/login" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.007" "-" "-" "-" "-" "-" 757
10.11.60.29 - - [25/Aug/2016:00:28:26 -0700] "GET /assets/facebox/tl.png HTTP/1.1" 304 "0.009" 0 "https://10.11.60.29/assets/application-34d2931a4024e71f18837a713e905ef6.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.009" "-" "-" "-" "-" "-" 796
10.11.60.29 - - [25/Aug/2016:00:28:26 -0700] "GET /assets/facebox/tr.png HTTP/1.1" 304 "0.014" 0 "https://10.11.60.29/assets/application-34d2931a4024e71f18837a713e905ef6.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.014" "-" "-" "-" "-" "-" 796
10.11.60.29 - - [25/Aug/2016:00:28:26 -0700] "GET /assets/facebox/bl.png HTTP/1.1" 304 "0.016" 0 "https://10.11.60.29/assets/application-34d2931a4024e71f18837a713e905ef6.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.016" "-" "-" "-" "-" "-" 796
10.11.60.29 - - [25/Aug/2016:00:28:26 -0700] "GET /assets/facebox/br.png HTTP/1.1" 304 "0.016" 0 "https://10.11.60.29/assets/application-34d2931a4024e71f18837a713e905ef6.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.016" "-" "-" "-" "-" "-" 796
10.11.60.29 - - [25/Aug/2016:00:28:26 -0700] "GET /assets/facebox/b.png HTTP/1.1" 304 "0.023" 0 "https://10.11.60.29/assets/application-34d2931a4024e71f18837a713e905ef6.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "304" "0.023" "-" "-" "-" "-" "-" 795
10.11.60.29 - - [25/Aug/2016:00:28:35 -0700] "POST /users/login_exec HTTP/1.1" 500 "0.031" 643 "https://10.11.60.29/users/login" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" "127.0.0.1:9462" "500" "0.031" "-" "-" "-" "-" "-" 846
Related
I have configured Traefik 2.3.1 to write an accesslog to a file. But the log is missing User Agent (browser, OS info).
Is it somehow configurable?
The Traefik is running from docker-compose.yml:
version: '3.4'
services:
proxy:
image: traefik:2.3.1
command:
- "--providers.docker=true"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- ./traefik/traefik.toml:/traefik.toml:ro
- ./logs/traefik:/logs/traefik
ports:
- "80:80"
- "443:443"
restart: unless-stopped
Some lines from the traefik.toml:
[accessLog]
filePath = "/logs/traefik/access.log"
bufferingSize = 100
And the log looks like this:
3.22.235.211 - - [01/Feb/2021:15:42:41 +0000] "GET /.env HTTP/1.1" 404 555 "-" "-" 367 "site#docker" "http://172.18.0.4:8000" 1ms
3.22.235.211 - - [01/Feb/2021:15:42:42 +0000] "POST / HTTP/1.1" 405 559 "-" "-" 368 "site#docker" "http://172.18.0.4:8000" 0ms
66.249.66.153 - - [01/Feb/2021:15:45:43 +0000] "GET /robots.txt HTTP/1.1" 200 13 "-" "-" 369 "site#docker" "http://172.18.0.4:8000" 1ms
66.249.66.153 - - [01/Feb/2021:15:45:44 +0000] "GET / HTTP/1.1" 200 11698 "-" "-" 370 "site#docker" "http://172.18.0.4:8000" 0ms
The log of nginx running behind the Traefik:
172.18.0.2 - - [01/Feb/2021:15:42:41 +0000] "GET /.env HTTP/1.1" 404 555 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36" "3.22.235.211"
172.18.0.2 - - [01/Feb/2021:15:42:42 +0000] "POST / HTTP/1.1" 405 559 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36" "3.22.235.211"
172.18.0.2 - - [01/Feb/2021:15:45:43 +0000] "GET /robots.txt HTTP/1.1" 200 13 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" "66.249.66.153"
172.18.0.2 - - [01/Feb/2021:15:45:44 +0000] "GET / HTTP/1.1" 200 11698 "-" "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.113 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" "66.249.66.153"
Thanks
By default traefik does not log headers in its access logs. You have to add them. Look at this part of the documentation.
I changed traefik.toml as tetram pointed and it started to work:
[accessLog]
filePath = "/logs/traefik/access.log"
bufferingSize = 100
[accessLog.fields.headers.names]
"User-Agent" = "keep"
I'm trying to demonstrate to my team that Vulcain/HTTP\2 is better than GraphQL, but I don't have Server Push ... I don't understand why ...
I have no error in Docker's logs and I could not find the solution, I took as example this project https://github.com/dunglas/demo-vulcain-api-platform
In chrome's devtools I do not see any difference between
const conferences = await fetchJson ('/conferences', {headers: {Preload: '/hydra:member/*/#id/sessions/*/feedback/*'}});
and
const conferences = await fetchJson ('/conferences');
script: https://github.com/dunglas/demo-vulcain-api-platform/blob/master/api/public/test-min-waterfall.html
There's got to be something I'm doing wrong, but I don't know what?
What actions are required to make Vulcain work with API Platform?
In the Docker's logs Vulcain is ok, in Chrome I see that the protocol is "h2", but Chrome not receiving Push from the Server...
Docker's logs from Vulcain:
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:04 +0000] "GET /test.html HTTP/2.0" 200 491 "" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /conferences HTTP/2.0" 200 694 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /favicon.ico HTTP/2.0" 200 6915 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /conferences/9 HTTP/2.0" 200 162 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /conferences/10 HTTP/2.0" 200 179 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /conferences/1 HTTP/2.0" 200 171 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /conferences/8 HTTP/2.0" 200 171 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /conferences/7 HTTP/2.0" 200 158 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /conferences/6 HTTP/2.0" 200 167 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /conferences/5 HTTP/2.0" 200 169 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /conferences/3 HTTP/2.0" 200 159 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /conferences/4 HTTP/2.0" 200 163 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/4 HTTP/2.0" 200 248 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /conferences/2 HTTP/2.0" 200 173 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/15 HTTP/2.0" 200 269 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/31 HTTP/2.0" 200 267 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/38 HTTP/2.0" 200 280 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/97 HTTP/2.0" 200 274 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/52 HTTP/2.0" 200 254 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/73 HTTP/2.0" 200 264 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/98 HTTP/2.0" 200 281 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/2 HTTP/2.0" 200 255 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/50 HTTP/2.0" 200 268 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/17 HTTP/2.0" 200 261 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/30 HTTP/2.0" 200 264 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/9 HTTP/2.0" 200 246 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/26 HTTP/2.0" 200 248 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/14 HTTP/2.0" 200 263 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/44 HTTP/2.0" 200 256 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/71 HTTP/2.0" 200 269 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/80 HTTP/2.0" 200 250 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/96 HTTP/2.0" 200 263 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/89 HTTP/2.0" 200 267 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/24 HTTP/2.0" 200 275 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/74 HTTP/2.0" 200 240 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/8 HTTP/2.0" 200 264 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/13 HTTP/2.0" 200 239 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/11 HTTP/2.0" 200 273 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/6 HTTP/2.0" 200 245 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/81 HTTP/2.0" 200 260 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/55 HTTP/2.0" 200 272 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/84 HTTP/2.0" 200 260 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/87 HTTP/2.0" 200 281 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/78 HTTP/2.0" 200 232 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/82 HTTP/2.0" 200 279 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/10 HTTP/2.0" 200 279 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/12 HTTP/2.0" 200 274 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/21 HTTP/2.0" 200 270 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/59 HTTP/2.0" 200 250 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/94 HTTP/2.0" 200 245 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/61 HTTP/2.0" 200 281 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/25 HTTP/2.0" 200 274 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/32 HTTP/2.0" 200 282 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/88 HTTP/2.0" 200 264 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/36 HTTP/2.0" 200 260 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/51 HTTP/2.0" 200 277 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/67 HTTP/2.0" 200 267 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/69 HTTP/2.0" 200 256 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/49 HTTP/2.0" 200 267 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/7 HTTP/2.0" 200 264 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/39 HTTP/2.0" 200 252 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/91 HTTP/2.0" 200 251 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/72 HTTP/2.0" 200 266 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/77 HTTP/2.0" 200 261 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/54 HTTP/2.0" 200 253 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/16 HTTP/2.0" 200 273 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/29 HTTP/2.0" 200 286 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/37 HTTP/2.0" 200 296 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/5 HTTP/2.0" 200 239 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/95 HTTP/2.0" 200 289 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/90 HTTP/2.0" 200 257 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/100 HTTP/2.0" 200 274 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/66 HTTP/2.0" 200 247 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/83 HTTP/2.0" 200 276 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/1 HTTP/2.0" 200 281 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/18 HTTP/2.0" 200 256 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/46 HTTP/2.0" 200 263 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/60 HTTP/2.0" 200 266 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/47 HTTP/2.0" 200 284 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/35 HTTP/2.0" 200 255 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/57 HTTP/2.0" 200 271 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/99 HTTP/2.0" 200 259 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/70 HTTP/2.0" 200 269 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/68 HTTP/2.0" 200 238 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/42 HTTP/2.0" 200 251 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/19 HTTP/2.0" 200 271 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/63 HTTP/2.0" 200 262 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/22 HTTP/2.0" 200 280 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/34 HTTP/2.0" 200 235 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/41 HTTP/2.0" 200 272 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/56 HTTP/2.0" 200 243 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/3 HTTP/2.0" 200 244 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/43 HTTP/2.0" 200 289 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/33 HTTP/2.0" 200 286 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/27 HTTP/2.0" 200 242 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/23 HTTP/2.0" 200 269 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/58 HTTP/2.0" 200 250 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/75 HTTP/2.0" 200 271 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/62 HTTP/2.0" 200 232 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/92 HTTP/2.0" 200 258 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /feedback/2 HTTP/2.0" 200 229 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/20 HTTP/2.0" 200 258 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/40 HTTP/2.0" 200 275 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/28 HTTP/2.0" 200 242 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/48 HTTP/2.0" 200 274 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/45 HTTP/2.0" 200 273 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/53 HTTP/2.0" 200 273 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/64 HTTP/2.0" 200 277 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/65 HTTP/2.0" 200 263 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/93 HTTP/2.0" 200 265 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/79 HTTP/2.0" 200 244 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /sessions/85 HTTP/2.0" 200 284 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
vulcain_1 | 172.24.0.1 - - [15/Nov/2020:14:46:05 +0000] "GET /feedback/78 HTTP/2.0" 200 206 "https://localhost:8443/test.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"...
Network Chrome
Can you help me please?
Thank you!
I've been trying to create a bash script to create a CSV file with every IP from an Apache access log, and count how many unique requests that IP made, along with the actual requests.
So far I have this:
#!/bin/bash
# Print the headers to the CSV file
printf "\tRequests\tIP\t\n" > memory.csv
# Create a text file named .access_log.tmp.2 with the IPs and how many requests they made in total - .access.log.tmp is the Apache access log in this case
awk '{ print $1 }' .access_log.tmp | sort -n | uniq -c | sort -nr | head -20 > ".access_log.tmp.2"
# Make it a CSV file
sed 's/[[:space:]]\+/;/g' .access_log.tmp.2 >> memory.csv
# Remove the leftover files
rm .access_log.tmp .access_log.tmp.2
That gives an output like this:
Requests IP
20 10.0.0.1
15 10.0.0.2
This is how I would want it to look like:
IP Requests
10.0.0.1 12 "GET / HTTP/1.1" 403 490 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
8 "GET /favicon.ico HTTP/1.1" 403 489 "http://10.0.0.6/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
10.0.0.2 13 "GET /favicon.ico HTTP/1.1" 404 486 "-" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
2 "GET / HTTP/1.1" 200 3477 "-" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
etc.
I have no clue where to go from now.
Can someone please help?
Edit: Adding the input and output files below, as requested:
What I have right now
10.0.0.7 - - [17/Nov/2019:14:21:48 +0100] "GET / HTTP/1.1" 403 490 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
10.0.0.7 - - [17/Nov/2019:14:21:48 +0100] "GET /favicon.ico HTTP/1.1" 403 489 "http://10.0.0.6/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
10.0.0.7 - - [17/Nov/2019:14:22:39 +0100] "GET / HTTP/1.1" 200 3477 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
10.0.0.7 - - [17/Nov/2019:14:22:39 +0100] "GET /icons/ubuntu-logo.png HTTP/1.1" 200 3623 "http://10.0.0.6/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
10.0.0.7 - - [17/Nov/2019:14:22:39 +0100] "GET /favicon.ico HTTP/1.1" 404 486 "http://10.0.0.6/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
10.0.0.6 - - [17/Nov/2019:19:07:46 +0100] "GET / HTTP/1.1" 200 3477 "-" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
10.0.0.6 - - [17/Nov/2019:19:07:46 +0100] "GET /icons/ubuntu-logo.png HTTP/1.1" 200 3623 "http://10.0.0.6/" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
10.0.0.6 - - [17/Nov/2019:19:07:47 +0100] "GET /favicon.ico HTTP/1.1" 404 486 "-" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
10.0.0.6 - - [17/Nov/2019:19:07:51 +0100] "GET / HTTP/1.1" 200 3477 "-" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
10.0.0.6 - - [17/Nov/2019:19:07:51 +0100] "GET /icons/ubuntu-logo.png HTTP/1.1" 200 3623 "http://10.0.0.6/" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
10.0.0.6 - - [17/Nov/2019:19:07:51 +0100] "GET /favicon.ico HTTP/1.1" 404 486 "-" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
10.0.0.6 - - [17/Nov/2019:19:07:52 +0100] "GET / HTTP/1.1" 200 3477 "-" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
10.0.0.6 - - [17/Nov/2019:19:07:52 +0100] "GET /icons/ubuntu-logo.png HTTP/1.1" 200 3623 "http://10.0.0.6/" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
10.0.0.6 - - [17/Nov/2019:19:07:52 +0100] "GET /favicon.ico HTTP/1.1" 404 486 "-" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
^ Input
Requests IP
9 10.0.0.6
5 10.0.0.7
^ Output
What I want to have
Input is the same
IP Requests
10.0.0.6 3 "GET / HTTP/1.1" 200 3477 "-" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
3 "GET /favicon.ico HTTP/1.1" 404 486 "-" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
3 "GET /icons/ubuntu-logo.png HTTP/1.1" 200 3623 "http://10.0.0.6/" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
10.0.0.7 1 "GET / HTTP/1.1" 403 490 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
1 "GET /favicon.ico HTTP/1.1" 403 489 "http://10.0.0.6/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
1 "GET / HTTP/1.1" 200 3477 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
1 "GET /icons/ubuntu-logo.png HTTP/1.1" 200 3623 "http://10.0.0.6/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
1 "GET /favicon.ico HTTP/1.1" 404 486 "http://10.0.0.6/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
^ Output
Two possible path: single awk program, or combining sort/uniq/awk pipeline. Second is simpler to write:
Eliminate unwanted attributes (timestamp, and 2 '-' fields)
Sort by IP, Request information
Count unique IP/Request info
Sort lines in descending request count
Format output with awk
cat input |
awk '{ $2 = $3 = $4 = $5 = "" ; print }' |
sort |
uniq -c |
sort -k2.2nr -k1.1 |
awk '
{
printf "%-20s %d", $2 != p ? $2 : "", $1 ;
p=$2 ; for (i=3 ; i<=NF ; i++) printf " %s", $i ;
printf "\n"
}'
The alternative pure awk solution is much longer: Run with prog.awk < input
#! /usr/bin/awk -f
{
ip = $1
body = $6
for (i=7 ; i<=NF ; i++) body = body " " $i
n[ip, body]++
}
function sort_id_count(i1, v1, i2, v2)
{
ip1 = substr(v1, 1, index(v1, SUBSEP))
ip2 = substr(v2, 1, index(v2, SUBSEP))
if ( ip1 < ip2 ) return -1
if ( ip1 > ip2 ) return +1 ;
# Descending freq
return n[v2]-n[v1]
}
BEGIN { OFS="," }
END {
na=0
for (k in n) a[++na] = k ;
asorti(a, ai, "sort_id_count") ;
p="" ;
for (ki in ai) {
k1 = ai[ki]
k2 = a[k1]
ip = substr(k2, 1, index(k2, SUBSEP)-1)
body = substr(k2, index(k2, SUBSEP)+1)
if ( ip == p ) ip = "" ; else p=ip ;
printf "%-20s %d %s\n", ip, n[k2], body
}
}
Here is another shortened awk solution (standard Linux gawk).
One file sweep, sort once, no string substitutions, reduced to only 3 fields.
script.awk
BEGIN {FS="( -)|(] \")"} # define field separator " -" or "] "
{ # read each input line
ipLogsArr[$1,$4]++; # store array counting appearance IP+Log combination
ipArr[$1]++; # store array counting appearance of IP
ipLogsArrVal[$1,$4]=sprintf("%s&&&%03d&&&%s", $1, ipLogsArr[$1,$4], $4); # store array of IP+count+Log combination
}
END { # post processing after reading all input
printf("%-14s %3s %s\n", "IP", "#", "log"); # output header
count = asort(ipLogsArrVal); # sort array of IP+count+Log combination
for (i = count; i >= 1; i--) { # for each element of the sorted array, iterate backward
split(ipLogsArrVal[i],arr,"&&&"); # separate IP+count+Log to into array arr
ipOut = (currIp == arr[1]) ? "" : arr[1]; # ignore printed IP
printf("%-14s %3d %s\n", ipOut, arr[2], arr[3]); # print current log
currIp = arr[1]; # remember current IP, in order to prevent repeated output
}
}
input.txt
10.0.0.7 - - [17/Nov/2019:14:21:48 +0100] "GET / HTTP/1.1" 403 490 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
10.0.0.7 - - [17/Nov/2019:14:21:48 +0100] "GET /favicon.ico HTTP/1.1" 403 489 "http://10.0.0.6/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
10.0.0.7 - - [17/Nov/2019:14:22:39 +0100] "GET / HTTP/1.1" 200 3477 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
10.0.0.7 - - [17/Nov/2019:14:22:39 +0100] "GET /icons/ubuntu-logo.png HTTP/1.1" 200 3623 "http://10.0.0.6/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
10.0.0.7 - - [17/Nov/2019:14:22:39 +0100] "GET /favicon.ico HTTP/1.1" 404 486 "http://10.0.0.6/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
10.0.0.6 - - [17/Nov/2019:19:07:46 +0100] "GET / HTTP/1.1" 200 3477 "-" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
10.0.0.6 - - [17/Nov/2019:19:07:46 +0100] "GET /icons/ubuntu-logo.png HTTP/1.1" 200 3623 "http://10.0.0.6/" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
10.0.0.6 - - [17/Nov/2019:19:07:47 +0100] "GET /favicon.ico HTTP/1.1" 404 486 "-" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
10.0.0.6 - - [17/Nov/2019:19:07:51 +0100] "GET / HTTP/1.1" 200 3477 "-" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
10.0.0.6 - - [17/Nov/2019:19:07:51 +0100] "GET /icons/ubuntu-logo.png HTTP/1.1" 200 3623 "http://10.0.0.6/" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
10.0.0.6 - - [17/Nov/2019:19:07:51 +0100] "GET /favicon.ico HTTP/1.1" 404 486 "-" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
10.0.0.6 - - [17/Nov/2019:19:07:52 +0100] "GET / HTTP/1.1" 200 3477 "-" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
10.0.0.6 - - [17/Nov/2019:19:07:52 +0100] "GET /icons/ubuntu-logo.png HTTP/1.1" 200 3623 "http://10.0.0.6/" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
10.0.0.6 - - [17/Nov/2019:19:07:52 +0100] "GET /favicon.ico HTTP/1.1" 404 486 "-" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
running:
awk -f script.awk output.txt
output:
IP # log
10.0.0.7 1 GET /icons/ubuntu-logo.png HTTP/1.1" 200 3623 "http://10.0.0.6/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
1 GET /favicon.ico HTTP/1.1" 404 486 "http://10.0.0.6/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
1 GET /favicon.ico HTTP/1.1" 403 489 "http://10.0.0.6/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
1 GET / HTTP/1.1" 403 490 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
1 GET / HTTP/1.1" 200 3477 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
10.0.0.6 3 GET /icons/ubuntu-logo.png HTTP/1.1" 200 3623 "http://10.0.0.6/" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
3 GET / HTTP/1.1" 200 3477 "-" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
2 GET /favicon.ico HTTP/1.1" 404 486 "-" "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
I need complete the program "wana" to filter this IP log by time (-a > after , -b > before >> time from-to) to show rows only in specified time datetime format: YYYY-MM-DD HH:MM:SS to parameters -a and -b
This is my file with logs, i use : https://pajda.fit.vutbr.cz/ios/ios-19-1-logs/blob/master/ios-example.com.access.log >
testing log :
2001:67c:1220:80c:d4:985a:df2c:d717 - - [22/Feb/2019:07:49:01 +0100] "GET / HTTP/1.1" 200 58266 "-" "curl/7.61.1"
2001:67c:1220:80c:d4:985a:df2c:d717 - - [22/Feb/2019:08:49:01 +0100] "GET / HTTP/1.1" 200 58341 "-" "curl/7.61.1"
2001:67c:1220:808::93e5:8ad - - [22/Feb/2019:08:56:10 +0100] "POST /wp-cron.php?doing_wp_cron=1550822170.2184400558471679687500 HTTP/1.1" 200 3279 "https://ios-example.com/wp-cron.php?doing_wp_cron=1550822170.2184400558471679687500" "WordPress/4.9.9; https://ios-example.com"
40.77.167.115 - - [22/Feb/2019:08:56:10 +0100] "GET / HTTP/1.1" 301 3541 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)"
147.229.13.201 - - [22/Feb/2019:09:24:33 +0100] "-" 408 3275 "-" "-"
147.229.13.201 - - [22/Feb/2019:09:24:33 +0100] "-" 408 3275 "-" "-"
198.27.69.191 - - [22/Feb/2019:09:43:13 +0100] "GET / HTTP/1.1" 200 22311 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
198.27.69.191 - - [22/Feb/2019:09:43:24 +0100] "GET / HTTP/1.1" 200 22313 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
198.27.69.191 - - [22/Feb/2019:09:43:42 +0100] "GET /?gf_page=upload HTTP/1.1" 200 22304 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
198.27.69.191 - - [22/Feb/2019:09:44:07 +0100] "GET / HTTP/1.1" 200 22313 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
198.27.69.191 - - [22/Feb/2019:09:44:37 +0100] "GET /?up_auto_log=true HTTP/1.1" 200 22315 "-" "Mozilla/5.0 (Windows NT 6.1; rv:36.0) Gecko/20100101 Firefox/36.0"
198.27.69.191 - - [22/Feb/2019:09:44:54 +0100] "GET /wp-admin/ HTTP/1.1" 302 3711 "-" "Mozilla/5.0 (Windows NT 6.1; rv:36.0) Gecko/20100101 Firefox/36.0"
198.27.69.191 - - [22/Feb/2019:09:44:55 +0100] "GET /wp-login.php?redirect_to=https%3A%2F%2Fios-example.com%2Fwp-admin%2F&reauth=1 HTTP/1.1" 200 3656 "-" "Mozilla/5.0 (Windows NT 6.1; rv:36.0) Gecko/20100101 Firefox/36.0"
198.27.69.191 - - [22/Feb/2019:09:45:38 +0100] "GET / HTTP/1.1" 200 22311 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
2001:67c:1220:80c:d4:985a:df2c:d717 - - [22/Feb/2019:09:49:01 +0100] "GET / HTTP/1.1" 200 58276 "-" "curl/7.61.1"
2001:67c:1220:808::93e5:8ad - - [22/Feb/2019:10:49:01 +0100] "POST /wp-cron.php?doing_wp_cron=1550828941.3725960254669189453125 HTTP/1.1" 200 3279 "https://ios-example.com/wp-cron.php?doing_wp_cron=1550828941.3725960254669189453125" "WordPress/4.9.9; https://ios-example.com"
2001:67c:1220:80c:d4:985a:df2c:d717 - - [22/Feb/2019:10:49:01 +0100] "GET / HTTP/1.1" 200 58241 "-" "curl/7.61.1"
66.249.66.49 - - [22/Feb/2019:10:49:08 +0100] "GET /robots.txt HTTP/1.1" 404 3798 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
66.249.66.45 - - [22/Feb/2019:10:49:08 +0100] "GET / HTTP/1.1" 200 22306 "-" "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.96 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
82.202.69.253 - - [22/Feb/2019:11:26:58 +0100] "GET / HTTP/1.1" 200 22226 "-" "Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
82.202.69.253 - - [22/Feb/2019:11:27:44 +0100] "GET /HNAP1/ HTTP/1.1" 404 3723 "http://ios-example.com/" "Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
program wana (need complete):
#!/bin/bash
cat $5 | # filter rows by time from $2 to $4
This is how i call the program
$ ./wana -a "2019-02-22 09:00:00" -b "2019-02-22 09:44:54" ios-example.com.access.log
I need this selected output to console:
147.229.13.201 - - [22/Feb/2019:09:24:33 +0100] "-" 408 3275 "-" "-"
147.229.13.201 - - [22/Feb/2019:09:24:33 +0100] "-" 408 3275 "-" "-"
198.27.69.191 - - [22/Feb/2019:09:43:13 +0100] "GET / HTTP/1.1" 200 22311 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
198.27.69.191 - - [22/Feb/2019:09:43:24 +0100] "GET / HTTP/1.1" 200 22313 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
198.27.69.191 - - [22/Feb/2019:09:43:42 +0100] "GET /?gf_page=upload HTTP/1.1" 200 22304 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
198.27.69.191 - - [22/Feb/2019:09:44:07 +0100] "GET / HTTP/1.1" 200 22313 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
198.27.69.191 - - [22/Feb/2019:09:44:37 +0100] "GET /?up_auto_log=true HTTP/1.1" 200 22315
$ cat tst.sh
#!/bin/env bash
beg="$2"
end="$4"
file="$5"
awk -v beg="$beg" -v end="$end" '
{
split($4,t,/[[\/:]/)
mthNr = (index("JanFebMarAprMayJunJulAugSepOctNovDec",t[3])+2)/3
cur = sprintf("%04d-%02d-%02d %02d:%02d:%02d",t[4],mthNr,t[2],t[5],t[6],t[7])
}
(cur > beg) && (cur < end)
' "$file"
$ ./tst.sh -a '2019-02-22 09:00:00' -b '2019-02-22 09:44:54' file
147.229.13.201 - - [22/Feb/2019:09:24:33 +0100] "-" 408 3275 "-" "-"
147.229.13.201 - - [22/Feb/2019:09:24:33 +0100] "-" 408 3275 "-" "-"
198.27.69.191 - - [22/Feb/2019:09:43:13 +0100] "GET / HTTP/1.1" 200 22311 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
198.27.69.191 - - [22/Feb/2019:09:43:24 +0100] "GET / HTTP/1.1" 200 22313 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
198.27.69.191 - - [22/Feb/2019:09:43:42 +0100] "GET /?gf_page=upload HTTP/1.1" 200 22304 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
198.27.69.191 - - [22/Feb/2019:09:44:07 +0100] "GET / HTTP/1.1" 200 22313 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
198.27.69.191 - - [22/Feb/2019:09:44:37 +0100] "GET /?up_auto_log=true HTTP/1.1" 200 22315 "-" "Mozilla/5.0 (Windows NT 6.1; rv:36.0) Gecko/20100101 Firefox/36.0"
I expect you can add the getopts loop or whatever you like to really populate the variables from the arguments.
I'm having trouble accessing my IIS 7.5 express site in FireFox but i can access it in IE and Chrome. The site returns a 404 error for FireFox for almost all directories.
This is the log from the Firefox requests
2012-06-25 18:30:38.834 127.0.0.1 "-" "GARY-LOCAL-DEV" "-" 127.0.0.1 GET / - 401 -2147024891 6423 274 15 8080 "Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0.1" "-" "-" "-" "localhost:8080" 2
2012-06-25 18:30:38.834 127.0.0.1 "-" "GARY-LOCAL-DEV" "-" 127.0.0.1 GET / - 401 -2146893042 6927 352 0 8080 "Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0.1" "-" "-" "-" "localhost:8080" 1
2012-06-25 18:30:38.850 127.0.0.1 "DOMAIN\USERNAME" "GARY-LOCAL-DEV" "-" 127.0.0.1 GET / - 404 -2147024894 5250 516 15 8080 "Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0.1" "-" "-" "-" "localhost:8080" 0
This is the Chrome Requests
2012-06-25 18:30:56.908 127.0.0.1 "-" "GARY-LOCAL-DEV" "-" 127.0.0.1 GET / - 401 -2147024891 6399 457 0 8080 "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5" "ASP.NET_SessionId=obkmwr5elb3iruk0gykhup1i" "-" "-" "localhost:8080" 2
2012-06-25 18:30:58.408 127.0.0.1 "-" "GARY-LOCAL-DEV" "-" 127.0.0.1 GET / - 401 -2146893042 6903 560 0 8080 "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5" "ASP.NET_SessionId=obkmwr5elb3iruk0gykhup1i" "-" "-" "localhost:8080" 1
2012-06-25 18:30:58.502 127.0.0.1 "DOMAIN\USERNAME" "GARY-LOCAL-DEV" "-" 127.0.0.1 GET /default.aspx - 200 0 1728 580 15 8080 "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5" "ASP.NET_SessionId=obkmwr5elb3iruk0gykhup1i" "-" "-" "localhost:8080" 0
2012-06-25 18:30:58.502 127.0.0.1 "DOMAIN\USERNAME" "GARY-LOCAL-DEV" "-" 127.0.0.1 GET / - 200 0 1728 580 93 8080 "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5" "ASP.NET_SessionId=obkmwr5elb3iruk0gykhup1i" "-" "-" "localhost:8080" 0
2012-06-25 18:30:58.517 127.0.0.1 "-" "GARY-LOCAL-DEV" "-" 127.0.0.1 GET /Scripts/jquery-1.5.js - 401 -2147024891 6470 451 0 8080 "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5" "ASP.NET_SessionId=obkmwr5elb3iruk0gykhup1i" "http://localhost:8080/" "-" "localhost:8080" 2
2012-06-25 18:30:58.533 127.0.0.1 "-" "GARY-LOCAL-DEV" "-" 127.0.0.1 GET /Scripts/jquery-1.5.js - 401 -2146893042 6974 554 15 8080 "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5" "ASP.NET_SessionId=obkmwr5elb3iruk0gykhup1i" "http://localhost:8080/" "-" "localhost:8080" 1
2012-06-25 18:30:58.548 127.0.0.1 "DOMAIN\USERNAME" "GARY-LOCAL-DEV" "-" 127.0.0.1 GET /Scripts/jquery-1.5.js - 404 -2147024894 5302 574 15 8080 "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5" "ASP.NET_SessionId=obkmwr5elb3iruk0gykhup1i" "http://localhost:8080/" "-" "localhost:8080" 0
2012-06-25 18:30:58.564 127.0.0.1 "DOMAIN\USERNAME" "GARY-LOCAL-DEV" "-" 127.0.0.1 GET /Styles/Woodlands.css - 304 0 308 551 46 8080 "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5" "ASP.NET_SessionId=obkmwr5elb3iruk0gykhup1i" "http://localhost:8080/" "-" "localhost:8080" 0
I have Windows NTLM authentication turned on for the server because this is a dev for an intranet site. This did work last week just fine but i noticed a FireFox update this morning. Any ideas if that update is the cause or a red herring and any suggestions on where to look for a fix.
Just the first thing that hit my eyes: You have a session id for the Chrome requests but not for the Firefox requests.
I guess the Firefox update just simply cleared your session cookies, hence the difference. If I'm right, the problem can reproduced in any browser after clearing your session cookies.