No status code in access logs?

I just started running traefik and exposing to the internet 1 month ago. (I use docker compose). I set up TLS with let's encrypt and used traefik to forward requests based on subdomain. All http requests redirect to https. At the time I had 2 sites accessible but both of them requried passwords and I set long passwords to be safe.

A couple of days ago I got aroudn to setting up crowdsec. (Think fail2ban with a crowdsourced db of rules that you can ban based off of). Most of my access logs were going to stdout so I lost all the logs from when I started hosting externally. However I did start setting access logs to file about 5 days ago. I decided to review these access logs to see if I had any intrusions.

Most of these were fine with 401s and 404s as expected when it wasn't my ip. I.e. I was being scanned by some bots but overall I was safe.

However I came across a few requests in the access logs that didn't have any status codes. I am surprised by this. How can my traefik access log not have status code? I have listed a sample below. What could cause traefik to not have status codes?

192.241.193.13 - - [10/Mar/2023:09:24:25 +0000] "GET / HTTP/1.1" - - "-" "-" 384 "-" "-" 0ms
109.237.98.226 - - [10/Mar/2023:10:14:10 +0000] "GET /.env HTTP/1.1" - - "-" "-" 392 "-" "-" 0ms
159.223.216.204 - - [10/Mar/2023:14:32:19 +0000] "GET /ab2g HTTP/1.1" - - "-" "-" 447 "-" "-" 0ms
159.223.216.204 - - [10/Mar/2023:14:32:19 +0000] "GET /ab2h HTTP/1.1" - - "-" "-" 448 "-" "-" 0ms
143.198.130.130 - - [10/Mar/2023:18:41:51 +0000] "GET / HTTP/1.1" - - "-" "-" 539 "-" "-" 0ms
159.223.132.53 - - [10/Mar/2023:21:09:39 +0000] "GET / HTTP/1.1" - - "-" "-" 568 "-" "-" 0ms
109.237.97.180 - - [10/Mar/2023:21:55:47 +0000] "GET /.env HTTP/1.1" - - "-" "-" 581 "-" "-" 0ms
2 Likes