Skip to main content
Sumo Logic

Upgrade Collectors using the Command Line

Before upgrading an installed Collector review Collector Upgrade Best Practices.

The steps to upgrade an installed Collector using the command line are similar to the steps used for installing the Collector with the command line. See Installed Collectors for details.

Download

Download the collector in either of the following ways:

  • In Sumo Logic select Manage Data > Collection > Collection. Click Add Collector, click Installed Collector, and then click the link for the collector to begin the download.
  • Open a browser and enter the static URL for your pod. If you're not sure which pod you're using, check the login page (US2, EU, AU, or DE appears in the URL for those pods; only US1 is not included in the URL). The download begins immediately. See Download a Collector from a Static URL for a list of the URLs for your Linux version and pod.

Linux

When upgrading on Ubuntu 16 and above using a shell executable file (.sh), Debian, or the Web UI you will need to manually restart the collector service after upgrading using the following command. See Start or Stop a Collector for details. 

sudo ./collector start

Linux RPM

Upgrade command:    sudo rpm -U <pathToCollectorRPMFile>

Downgrade command:    sudo rpm -U --oldpackage <pathToCollectorRPMFile>

Linux Debian

Upgrade or downgrade command:     sudo dpkg -i <pathToCollectorDebianFile>

Linux 32 or 64

Upgrade or downgrade command:     sudo <pathToCollectorShFile> -q

Windows

Upgrade or downgrade command:     SumoCollector.exe -console -q

MacOS

Use the same steps to Install a Collector on MacOS without the authentication credentials.