This repository provides simple, self-contained scripts to install and register the Sumo Logic Installed Collector across platforms:
- Linux (Debian/Ubuntu)
- Linux (RHEL/Rocky/Alma/CentOS)
- Windows
- macOS
Each script:
- downloads the correct installer
- installs the collector
- applies the installation token
- starts the collector service
Sources are NOT configured by these scripts. Add them later in the Sumo Logic UI.
- sumo_deb_install.sh (Debian / Ubuntu)
- sumo_rpm_install.sh (RHEL / Rocky / Alma / CentOS)
- sumo_windows_install.ps1 (Windows)
- sumo_macos_install.sh (macOS)
There are two different token behaviors depending on platform:
Linux (DEB / RPM)
- Uses decoded token
- Requires writing user.properties
Windows and macOS
- Use raw installation token directly
- Passed to installer at runtime
Scripts write:
/opt/SumoCollector/config/user.properties
Format:
name= url=https://collectors.sumologic.com token=<decoded_token>
Notes:
- Token must be decoded beforehand
- URL is typically https://collectors.sumologic.com
- Parameters are case-sensitive
Token is defined inside the script:
$SUMO_TOKEN = "PASTE_TOKEN_HERE"
Used during install:
-Vsumo.token_and_url=$SUMO_TOKEN
No decoding required.
Token is defined inside the script:
SUMO_TOKEN="PASTE_TOKEN_HERE"
Used during install:
-Vsumo.token_and_url="$SUMO_TOKEN"
No decoding required.
Linux (Debian/Ubuntu):
sudo ./sumo_deb_install.sh
Linux (RHEL/Rocky):
sudo ./sumo_rpm_install.sh
Windows:
powershell -ExecutionPolicy Bypass -File .\sumo_windows_install.ps1
macOS:
chmod +x sumo_macos_install.sh sudo ./sumo_macos_install.sh
Linux:
systemctl status collector --no-pager -l
Windows:
Get-Service sumo-collector
macOS:
ps aux | grep -i sumo
After install, confirm the collector appears in the Sumo Logic UI.
- Configure log sources
- Manage upgrades
- Handle proxies
- Secure token storage beyond script usage
- Add argument support for token instead of editing scripts
- Add logging output to file
- Add proxy support
- Add auto-detection for Linux package type
- Do NOT commit real tokens to public repositories
- Treat tokens as credentials
- Use client-specific copies of scripts when needed
These scripts are intended for fast, repeatable deployments across environments with minimal dependencies.