In API Manager 1.10.0 Analytics can be configured using both the UI or XML. Follow the instructions below to configure Analytics in APIM using XML:
- Open the <APIM_HOME>/repository/conf/api-manager.xml file.
- Carryout the following configuration changes under the
<APIUsageTracking>
element in the XML file.Enable Analytics by uncommenting and setting the
<Enabled>
element to true.<Enabled>false</Enabled>
Define the
<DASServerURL>
value based on the Data Analytics Server (DAS) receivers.
Example: {tcp://localhost:7612/,tcp://localhost:7613/}Define the
<DASUsername>
and<DASPassword>
based on the DAS receivers.Define the <DASRestApiURL> element with the URL that will fetch data from DAS REST API.
Set it as according to DAS master node
- Set DASRestApiUsername and DASRestApiPassword accroding to DAS REST
- Leave other configuration as default