I have a problem with a server that now has 180GB of logs in var log apache domlogs
there are thousands of file names and the filenames are multiple IP addresses, visitor IPs, each file contains apache logs files for accesses made from the IP in the filename, but the lines doesn't contain the IP
Example: filename 66.249.64.157 (which is a googlebot ip) contains lines
there is no mention about the domain name that was accessed
I can't find in httpd.conf how are these files being created, so i supose they are being created by splitlogs, the files are not being rotated.
What am i missing here? How can i have these files rotated or not generated?
there are thousands of file names and the filenames are multiple IP addresses, visitor IPs, each file contains apache logs files for accesses made from the IP in the filename, but the lines doesn't contain the IP
Example: filename 66.249.64.157 (which is a googlebot ip) contains lines
- - [10/Feb/2022:12:49:41 +0100] "GET / HTTP/1.1" 301 2560 "-" "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
- - [10/Feb/2022:18:53:01 +0100] "GET /?filter=latest HTTP/1.1" 200 35080 "-" "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
- - [10/Feb/2022:18:55:07 +0100] "GET /wp-content/uploads/2019/05/77245610e9dc3c82231ae7cdfbf2a395.27-320x180.jpg HTTP/1.1" 200 9129 "-" "Googlebot-Image/1.0"
there is no mention about the domain name that was accessed
I can't find in httpd.conf how are these files being created, so i supose they are being created by splitlogs, the files are not being rotated.
What am i missing here? How can i have these files rotated or not generated?