i use this command to live see apache logs: sudo tail -f /var/log/apache2/access.log I use a Ubuntu 18 VPS wich i have root access. this logs are also saved to the access.log file true? (because when i search some string in the live mode i find some things that i do not see when i use CAT to see the access.log file)
My questions is: is there a way to FOR every log to find info of the IP and save to another file the HOSTNAME of that IP together with the log data?