Install TrackMe Broker as a Linux service¶
This guide installs the standalone app in /opt/trackme-broker and runs it with systemd. Use a Linux x86_64 host with glibc 2.28 or newer, Bash, GNU coreutils, util-linux and about 1 GiB of free disk. You will need sudo access.
Allow outbound HTTPS from the broker to your Splunk management URL and each private destination. For Splunk Cloud, add the broker’s outbound IP to the stack’s
search-apiallow list. The broker opens the connections itself.Have a Splunk token for a user with the trackme_broker role and an administrator who can open Configuration → Manage TrackMe Brokers (
trackmeadminoperations).For one connection, start with one vCPU and about 1.5 GiB RAM. The host needs working DNS and a synchronized clock.
1. Check your Python version¶
/usr/bin/python3 --version
The installer supports CPython 3.11 through 3.14 and needs its venv and ensurepip modules. On Ubuntu 24.04, install the matching module with sudo apt install python3-venv. If your supported Python lives elsewhere, use its full path in step 3.
2. Download the Linux app¶
Create a working folder in your home directory. Download the 1.0.0 Linux tarball into it. Open a terminal in that folder.
Optional (recommended) — verify TrackMe’s signature with Cosign
Download the signature bundle into the same folder as the archive.
This check confirms that TrackMe signed your download. It uses Cosign 3.1.4 and OpenSSL.
Save the TrackMe release public key as trackme-release.pub in your working folder. On first use, check its fingerprint.
openssl pkey -pubin -in trackme-release.pub -outform DER | openssl dgst -sha256
The expected SHA-256 fingerprint is 5929ad70f8cf4b3ee170de0cc85ccbb2a899d54ee2958aeb6640a7fdebbb3f62. Confirm it through a trusted TrackMe channel before using the key.
cosign verify-blob --key trackme-release.pub --bundle trackme-broker-1.0.0-linux-x86_64.tar.gz.sigstore.json trackme-broker-1.0.0-linux-x86_64.tar.gz
A successful check prints Verified OK.
3. Install the app¶
On a fresh host, unpack the archive into a new, root-owned folder, then run the installer.
sudo mkdir -m 0700 /opt/trackme-broker-install-1.0.0
sudo tar -xzf trackme-broker-1.0.0-linux-x86_64.tar.gz -C /opt/trackme-broker-install-1.0.0 --strip-components=1
sudo /opt/trackme-broker-install-1.0.0/install.sh --python /usr/bin/python3
The installer creates the trackme-broker service account. The service starts in step 5, after you supply the connection details.
Other Linux installation options
Use --home /absolute/path with the installer for a custom installation directory, and use that path in the remaining commands. Use --no-systemd to manage the process yourself and run trackme-broker run as the service user. On an enforcing SELinux host, the service needs permission to read its configuration and write its state.
4. Set the Splunk URL and token¶
Download broker.yaml to your working folder. Open it in a text editor and change two values.
instance_name — give this host a unique name that you will keep across upgrades.
url — replace
https://stack.example.com:8089with your Splunk management URL, for examplehttps://your-stack.splunkcloud.com:8089.
The example uses TrackMe 2.4.26 to manage allowed destinations. The token goes in a separate file.
Copy the settings into place. On this first installation, create a file that only the service user can read and write.
sudo install -o root -g trackme-broker -m 0640 broker.yaml /opt/trackme-broker/etc/broker.yaml
sudo install -o trackme-broker -g trackme-broker -m 0600 /dev/null /opt/trackme-broker/etc/token
sudo nano /opt/trackme-broker/etc/token
Paste only the token into the editor. Save with Ctrl+O, Enter, then exit with Ctrl+X.
5. Start the service¶
From the broker’s program directory, check the configuration as the service user. Look for token=set and your Splunk URL.
cd /opt/trackme-broker/bin
sudo -u trackme-broker ./trackme-broker config check
Start the service and display its pairing code and fingerprint.
sudo systemctl enable --now trackme-broker
sudo -u trackme-broker ./trackme-broker pair
If the code has not appeared yet, check sudo journalctl -u trackme-broker -n 30 and run the pairing command again.
6. Pair and test in TrackMe¶
In TrackMe for Splunk, open Configuration → Manage TrackMe Brokers → Add broker. Enter the pairing code and compare the fingerprint on screen with the one on your host. Use the latest code if the first expires.
Choose A new broker, give it a name and select Accept broker. For a second instance, choose Add to and select the existing broker. Each instance needs its own name and state.
Expand the broker and look for Online. From the broker’s menu, select Manage targets, add the HTTPS URL of a service the broker can reach and save. Check that each instance reports Applied. An empty list blocks all destinations.
Open a remote Splunk account, set Connectivity to this broker and run the account’s connectivity test. A successful response from your private destination confirms the full route. You can also test a Cribl connection or send a test webhook.
For a local readiness check after pairing, run sudo -u trackme-broker ./trackme-broker status --check from the same program directory. See Linux service logs and troubleshooting or upgrading the standalone broker.