on 03-11-2008 2:29 PM
Hi All,
I have done the setup to get the http log files of my portal in CLF. I want to do reporting on these logs. We have a webDispatcher installed pointing to 3 portal nodes. When I get the clf file under :
/usr/sap/Exx/JCxx/j2ee/cluster/serverx/log/system/httpaccess/
The IP adress of the requestor is the webdispatcher IP. Is there a way to have, in these logs, the IP adress of the machine of the requestor instead of the WebDispatcher IP?
Regards,
Renaud-Pierre Landry
Hello Renaud-Pierre,
Check this parameter
wdisp/add_xforwardedfor_header
The parameter determines whether SAP Web Dispatcher includes the IP address of the client in the header field x-forwarded-for. If it does, the application on the application server can read the route that the request has taken. If the parameter has the value false, Web Dispatcher leaves the header field unchanged.
When the backend is ABAP stack you can them cutomize the http logs to include the header field x-forwardedfor . For Java stack, you'll have to check how to do it.
But, I think the best place to look for HTTP logs is on the Web Dispatcher...
Regards,
Olivier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We have not fixed our inital problem but will be using a workaround solution
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The parameter wdisp/add_xforwardedfor_header does not seem to be doing anything interesting. We have loaded it and still get the web dispatcher IP adress in the node logs.
Although, we have configured the webDispatcher log and we are thinking of using these logs instead.
Thanks a log for your help!
Renaud-Pierre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for your answer. I will investigate right away that parameter.
Where are the web dispatcher http logs?
Thanks
Renaud
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.