The Unomaly console has a wrapper command "unomaly" that allows you to interact with various Unomaly services. he command is available in the instance console menu, which requires you to connect to the instance via SSH, choosing option 7 in the console menu to reach system shell. Below are examples of tasks you can perform with "unomaly".
See status of instance services
unomaly status command to see all the services and their status. If there are no issues, all the services should say “Running”.
unomaly@unomaly:~$ unomaly status
api RUNNING pid 24052, uptime 4 days, 18:06:07
celery-beat RUNNING pid 24068, uptime 4 days, 18:06:07
celery-deletion-worker RUNNING pid 24031, uptime 4 days, 18:06:07
celery-worker RUNNING pid 24077, uptime 4 days, 18:06:07
See logs from individual services
unomaly logs command and specify the service you want to check.
unomaly@unomaly:~$ unomaly logs ingestion
==> press Ctrl-C to exit <==
INFO 2018-06-05T08:17:55Z events_in/s=95.289689 events_in_queue=0 even...
INFO 2018-06-05T08:18:00z events_in/s=93.891290 events_in_queue=0 even...
INFO 2018-06-05T08:18:05z events_in/s=96.643363 events_in_queue=0 even...
Stop, start and restart individual services
Run the commands
unomaly start and
unomaly stop and specify the service to start or stop respectively or
unomaly restart to restart.
unomaly@unomaly:~$ unomaly restart ingestion ingestion: ERROR (not running) ingestion: started
Reboot the entire instance
If you need to reboot the Unomaly instance, you can use the console menu or run the
unomaly@unomaly:~$ sudo reboot