I have a log that I have to rewrite...the log's line look like this :
01-01-2008 windowsuser GET index.html?page visited=google
01-01-2008 windowsuser GET index.html?page visited=yahoo\
......
I need to replace the index.html?page visited=google with google. basically replace the link accessed with the parameter(pagev isited). so after runing the sed command the lines should look like
01-01-2008 windowsuser GET google
01-01-2008 windowsuser GET yahoo
I can't seem to find how to do it. anyone can help? 10x in advance
01-01-2008 windowsuser GET index.html?page visited=google
01-01-2008 windowsuser GET index.html?page visited=yahoo\
......
I need to replace the index.html?page visited=google with google. basically replace the link accessed with the parameter(pagev isited). so after runing the sed command the lines should look like
01-01-2008 windowsuser GET google
01-01-2008 windowsuser GET yahoo
I can't seem to find how to do it. anyone can help? 10x in advance
Comment