1
vote
3answers
67 views

Parseable NGINX accesslog files with delimiters

The default NGINX format is this: log_format combined '$remote_addr - $remote_user [$time_local] ' '"$request" $status $body_bytes_sent ' '"$http_referer" ...
0
votes
1answer
294 views

How to block Bad robots, spiders, crawlers and harvesters

I'm sick and tired of this bad robots, spiders, crawlers and harvesters. I have already configured my server to block IP connected for 5 minutes and with maxretry of 250 using fail2ban. But still some ...
1
vote
1answer
33 views

Nginx keeps logging on main access_log

I have setup nginx in my server as a reverse proxy to haproxy. I have configured my own log_format and assigned it to every virtual host I have. However I have not turned off main access_log in ...
0
votes
1answer
254 views

How can I get unique IPv4 and IPv6 visitor counts on nginx access.log in shell?

How do I get some stats on unique IPv4 and IPv6 visitors by looking at a nginx access.log with UNIX CLI? I use the standard combined pre-defined format for access_log.
0
votes
2answers
278 views

Nginx 400 errors due to random encoded string starting with “\x” from random IP addresses

I assume these are some sort of bots, but would like to know what are they trying to do to my server. The logs in questions are below and the IP address has been changed from the original. ...
1
vote
1answer
908 views

Should I keep access_log turned on in Nginx?

Just thinking here from performance perspective that maybe turning access_log off; for my websites would improve the loading speed (even though it could be very minimal) but yea anyway how could ...