Squid access log file
Dear all,
Please help me to analyse squid access log.It was not clear to me how to analyze the file as the time format is not clear.please give some advice as I am a beginner in LINUX. Also tell me how to run a file in LINUX |
The format is "Unix time" (seconds since Jan 1, 1970) with millisecond resolution.
You can use perl to make the time human readable. Code:
perl -pe 's/\d+/localtime($&)/e' /var/log/squid/access.log http://www.webalizer.org/ Quote:
Make the file executable Code:
chmod +x file |
All times are GMT -5. The time now is 07:56 AM. |