This topic describes how to enable the REST API in NetWitness Platform. The REST API must be enabled by setting /rest/config/enabled to on, which is the default. The default port for communication is the default port + 100 (for example, 50105 for a Concentrator), but that can be changed by setting the /rest/config/port parameter. SSL is controled by the setting in /sys/config/ssl.
To enable the REST port:
- In the NetWitness Platform web user interface, go to ADMIN > Services and select a service, for example, a Concentrator.
- In the Host column, click on the host name. The Hosts page opens, and the IP address of the host is displayed in the Host column. Make a note of the IP address.
- Go to ADMIN > Services, select the service, and then select View > Config. Under System Configuration, note the port number. You will use this port number as a basis for accessing the API, but you must add 100 to it. For example, if the port number is listed as 50005, you would enter 50105.
In the browser, type the IP address of the service and append the port number to the IP address as shown here:
http://<hostname or IP address>:<port>
- In the Authentication dialog, enter the user name and password and click Log in. The root node tree used by NetWitness Platform is displayed: