Link to home
Start Free TrialLog in
Avatar of jetli
jetli

asked on

Check if data is in squid native log format

Hi,
How to write a script to check a line from a file to confirm that the data in file is in squid native log file format.
Providing the followings:
1) data_file (sample data)
1086670800.875 79 192.168.7.144 TCP_MISS/200 21326 GET http://www.ato.gov.au/common/javascript/iemenus.js - DIRECT/www.ato.gov.au text/html

2) squid native file format:
http://www.squid-cache.org/Doc/FAQ/FAQ-6.html#ss6.6
 
Thx all,
ASKER CERTIFIED SOLUTION
Avatar of sneeuw_chan
sneeuw_chan

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial