Skip to main content
Sumo Logic

Start or Stop a Collector using Scripts

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.

Linux/Solaris/Unix and Mac

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

Windows

Use these commands to install the Collector as a service and start the Collector, respectively.

  • InstallCollector-NT.bat
  • startCollectorService.bat