At first, thank you for your responses !
Ygor, I think PHV is True; for th 4th line, your script give
192.1.201.100 - - [09/Jan/2004:11:59:20 +0100] "GET /directory1/pagename2?stat=ambiguous_tourism?productId=41102 HTTP/1.1" 200 16066
instead of
192.1.201.100 - -...
Hello,
I want to rewrite some logs from Apache with awk. For the moment I may filter only the lines I want but now in the selected lines, I want to rewrite only some informations from one of the fields.
Do you have an idea or hints to resolve my problem?
Thanks,
Denis
Example of my data...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.