id | title | description |
---|---|---|
start-stop-collector-using-scripts |
Start or Stop a Collector using Scripts |
Use scripts used to start, stop, and check the status of the Collector process (Linux/Unix) and service (Windows). |
Sumo Logic Collectors start automatically at system startup. The Sumo Logic Collector installation directory comes with a set of scripts used to start, stop, and check the status of the Collector process (Linux/Unix) and service (Windows).
Manually restarting or stopping a Sumo Logic Collector requires root (Mac and Linux) or Administrator (Windows) privileges.
To start, stop, or check the status of the Collector, run one of the following commands from the Collector installation directory.
sudo ./collector start
sudo ./collector stop
sudo ./collector status
sudo ./collector restart
Use these commands to install, start, or stop the Collector as a service, respectively.
InstallCollector-NT.bat
startCollectorService.bat
stopCollectorService.bat
You can start and stop the Collector with a Windows NET.EXE command since the Collector runs as a Windows service.
net start sumo-collector
net stop sumo-collector