Learn more about remotely connecting to a Cortex Cloud Broker VM.
Cortex Cloud enables you to connect remotely to a Broker VM directly from Cortex Cloud.
In Cortex Cloud, select Settings → Configurations → Data Broker → Broker VMs table.
Locate the Broker VM you want to connect to, right-click and select Open Live Terminal.
Cortex Cloud opens a CLI window where you can perform the following commands:
Broker VM logs are located in
/data/logs/folderand contain the applet name in the file name.Example 121.Folder
/data/logs/[applet name], containingcontainer_ctrl_[applet name].logBroker VM supports the commands listed in the following table. All the commands are located in the
/home/admin/sbinfolder.Cortex Cloud requires you use the following values when running commands:
CSV Collector:
file_collectorDatabase Collector:
db_collectorFiles and Folders Collector:
log_collectorFTP Collector:
ftp_collectorKafka Collector:
kafka_collectorLocal Agent Settings:
tms_proxyNetFlow Collector:
netflow_collectorNetwork Mapper:
network_mapperSyslog Collector:
anubisWindows Event Collector:
wec
Upgrade:
zenith_upgradeFrontend service:
webuiSync with Cortex Cloud:
cloud_syncInternal messaging service (RabbitMQ):
rabbitmq-serverUpload metrics to Cortex Cloud:
metrics_uploaderPrometheus node exporter:
node_exporterBackend service:
backend
The following table displays the available commands in alphabetical order:
Command
Description
Example
applets_restartRestarts one or more applets.
sudo ./sbin/applets_restart wecapplets_startStart one or more applets.
sudo ./sbin/applets_start wecapplets_statusCheck the status of one or more applets.
sudo ./sbin/applets_status wecapplets_stopStop one or more applets.
sudo ./sbin/applets_stop wecrestart_routesInvoke a restart of the routing service after updating your static network route configuration file,
/etc/network/routes.The
/etc/network/routesconfiguration file is a standard routes configuration file and can be edited directly. The admin user that you logged in with, when using the remote terminal or via SSH, has read/write permissions to this file.sudo ./sbin/restart_routesNote
You can either
restart_routesor reboot the Broker VM for the changes in the/etc/network/routesfile to take affect.services_restartRestarts one or more services. OS services are not supported.
sudo ./sbin/services_restart cloud_syncservices_startStart one or more services.
sudo ./sbin/services_start cloud_syncservices_statusCheck the status of one or more services.
sudo ./sbin/services_status cloud_syncservices_stopStop one or more services.
sudo ./sbin/services_restart cloud_syncset_ui_password.shChange the password of the Broker VM Web UI.
Run the command, enter the new password followed by Ctrl+D.
sudo ./sbin/set_ui_password.shsquid_tailDisplay the Proxy applet Squid log file in real-time.
sudo ./sbin/squid_tail