Hi Rashmi,
I don't think edit of the BA.js file is the correct method.
I think this feature may have only have been previously available in AXA SaaS
However in AXA 17.3 on premise I see the file AxC/conf/dxc.properties has property "client.ip.http.headers" where you can add a comma separated list of headers to check. Comments from that file:
# list of custom headers where client IP may be present. This list should be sorted by
# priority and DxC will pick up client IP from first header found in the http request.
I am checking this with Engineering and will come back to you.
*** October 2: Engineering advised that this functionality is not propagated to Kibana (Session Events Index to build visualizations on) until 17.3.2 so that explains the lack of reporting in 17.3.
17.3 Service Pack 2 has just been released so please upgrade to that version: General Availability Announcement for CA App Experience Analytics 17.3.2
NOTE: there is no upgrade path from 17.3 -> 17.3.2 so it is not possible to retain data across the 2 releases and you need to do a fresh 17.3.2 install to get this full functionality ***
I also created a KB for future reference: https://comm.support.ca.com/kb/how-to-pass-a-client-ip-header-property-to-on-premise-ca-axa/KB000116803
Regards
Lynn