PDF(46.9 KB) View with Adobe Reader on a variety of devices
ePub(85.7 KB) View in various apps on iPhone, iPad, Android, Sony Reader, or Windows Phone
Mobi (Kindle)(73.6 KB) View on Kindle device or Kindle app on multiple devices
Updated:November 23, 2026
Document ID:226674
Bias-Free Language
The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This document describes filtering LocationAPI with webTrafficParser against access_log HTTP POST formParameter, since NS 2024.01 HTTP GET was removed.
Cisco recommends that you have knowledge of these topics:
Cisco BroadWorks System Administrator privilege.
NS Location and Portal API Requests Response.
Prerequisites
Requirements
There are no specific requirements for this document.
Components Used
This document is not restricted to special software and hardware versions.
The information in this document was created from the devices in a specific lab environment.All of the devices used in this document started with a cleared (default) configuration. If your network is live, ensure that you understand the potential impact of any command.
Background Information
The Location API request/response can be tracked as HTTP GET request log record in Cisco BroadWorks Network Server tomcat access_log. This method was replaced by HTTP POST in the 2024.01 feature. In this change, the tomcat access log added the field formParameters. The build-in BroadWorks webTrafficParser has since been enhanced to filter and read this fieldParameters. You can identify LocationAPI issue by paste and analyse the NS tomcat access log with webTrafficParser to identify from the HTTP POST request and the enclosed formParameter field.
Example #1: Traffic Profile
The tool webTrafficParser is located in the bin directory (/user/local/broadworks/bw_base/bin):
This tool parses tomcat access logs to characterize incoming traffic.
List of possible options:
-a : prints full output (all entries instead of top 10)
-m <regexp>: prints out log file entries matching regular expression
-r : displays rate-based (messages per second) information
-t <number>: prints top <number> items
-s <Start_time>: start time for file(s). Example format for times 30/Jan/2013:19:22:57
Defaults to first time in file(s).
-e <End_time>: end time for file(s).Defaults to last time in last file.
-p <interval> :prints a traffic profile from start to end time at an interval
(in minutes).This can be saved to a csv file and graphed.
The script parses up to 10 log files.
The log file names must be specified in time order.
Paste the NS tomcat access log of a focus time frame to webTrafficParser, this return a high volume for a particular user Location API request (416 in total):
Paste the userId 'jliangEntGrp1User5' as a parameter of the -m option to webTrafficParser. This returns the particular userId in field 15 of the access log entries. Field 15 is formParameters of the HTTP POST request.
You can move on to next step to analyze the NSPortalLog. Change to the nsportal logging directory. You paste the userId jliangEntGrp1User5 as -m parameter to bwTrafficParser to analyse the nsportallog. This results in a location API issue, where the NS cannot find the userid: jliangEntGrp1User5@cisco.com:
tcp - HTTP Bytes OUT to 10.66.82.113:57078 (sent from 10.66.82.115:80) statusCode=200 Headers: X-Content-Type-Options: nosniff X-XSS-Protection: 1; mode=block TrackingID: COMMPILOT_64dadd43-ba66-4805-b397-abd3a7d512a8 X-BROADSOFT-CORRELATION-ID: cc6f959b-2507-4792-b158-780c74af0d07 X-BroadWorks-Protocol-Version: 1.1 Content-Type: text/html;charset=UTF-8 Transfer-Encoding: chunked Date: Thu, 08 Oct 2026 10:28:04 GMT Keep-Alive: timeout=5 Connection: keep-alive Server: HTTP Server
Conclusion
After this troubleshooting to identify the LocationAPI 'Unknown URL' is the root cause of high amount 200 OK for HTTP POST with formParam
"url=jliangEntGrp1User5%40sys.cisco.com&returnCompatibleXSP=true&callPRequest=false&netadmin=jliangEntGrp1User5%40cisco.com", you can verify the userId jliangEntGrp1User5@cisco.com is existing in AS only due to a SyncAPI difficulty.