Parameters
Several of the REST API calls may require identifiers of various objects in the system, for example a domainId. This section describes how to obtain these identifiers.
You can get parameter information from a CLI. To get a host_id list from a Flow Collector, type this command:
grep id= /lancope/var/sw/today/config/groups.xml | awk -F\" '{print $2, $4}' |awk '$1<60000'|sort -k1,1n |less
To get the domain number for a Manager (formerly Stealthwatch Management Console), type this command:
ls /lancope/var/smc/config/ | grep domain