Ха? У Вас может быть всего один файл. Просто необходимо изменить Ваш Требовать, чтобы параметр был идентификатором пользователя вместо действительного пользователя. Посмотрите здесь: Документы Apache.
If you're running ELB in HTTP mode, it adds some HTTP headers to the request sent to the EC2 instances, amongst which is the X-Forwarded-For
header which will contain the IP address of the client.
X-Forwarded-For: 203.0.113.7
Note that this header can potentially contain more than one IP if other load balancers or proxies handled the request. In this case you want to extract the first IP listed.
X-Forwarded-For: 203.0.113.7, 10.12.33.44, 10.73.23.88
Поскольку ссылка в вашем комментарии не работает, вот как регистрировать IP-адреса посетителей:
В httpd.conf создайте новый формат журнала:
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined-elb
Затем, чтобы использовать его:
CustomLog logs/access_log combined-elb
Это так просто.