CONVERT logs.txt TO AS AND HOSTNAME [SHELL SCRIPT]