Showing results for 
Show  only  | Search instead for 
Did you mean: 

This product reached the end of support date on March 31, 2021.

Can I set a user IP address using a field in the XML analyzer?


An application using xml over http has an client IP address in a request and an username in the response. I can see that I could extract the username from a response "Value" xml field but can I set the client IP address using a request "Value" xml field? For example, the request looks like

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<RequestSet vers="1.0" svcid="Policy" reqid="376607">
<PolicyService version="1.0">
<PolicyRequest requestId="......">
<GetResourceResults userSSOToken=.....">
<Attribute name="requestIp"/>
<Attribute name="cn"/>
</RequestSet> ..... And the response looks like

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ResponseSet vers="1.0" svcid="policy" reqid="376607">
<Response><![CDATA[<PolicyService version="1.0" revisionNumber="50">
<PolicyResponse requestId="268431" issueInstant="1499316263484" >
<ResourceResult name="........>
<Attribute name="cn"/>

e.g there does not seem to be a "set client IP address using XML field" option in the current XML analyser. I cant use the XForwarderFor as this app flow is not from the client but from an external authentication system used by Siebel. And because of this, the packaged Siebel Login recognition does not work so we can not see any Siebel user names in DCRUM.

Thanks for looking at this question

Anthony Percy




There is a way to achieve it, however it has some limitations. First, you need to configure username reporting to extract the XML client IP as the username. Then, in global configuration, Middleware -> XML -> User Identification, select "Try to convert user name to IP address". This will result in the username being propagated to the Client IP dimension (provided that it's a well formed IPv4 address). The downside is that you will not be able to get the actual username separately - it's either the client IP or username.