Skip to content

Getting started

Signalith needs two things: OpenSearch 2.17 or newer (3.x included), where events are stored, and the signalith server, a single program with the web UI built in. The Docker quick start and the Windows installer run both for you, and on Linux one command sets up OpenSearch next to Signalith. Or try it first, with nothing to install, in the live demo.

Way to run it Good for Takes
Docker quick start Trying Signalith, labs, small sites Two commands
Linux A systemd service on a server A few commands, OpenSearch included
Windows A Windows service One installer, OpenSearch included

Docker quick start

Clone the repository and start it (later, run the commands from that folder):

git clone https://github.com/jrsamsanchez/Signalith.git signalith
cd signalith
docker compose -f deploy/docker/docker-compose.yml up -d
docker compose -f deploy/docker/docker-compose.yml exec signalith signalith initial-password

The up command starts OpenSearch and Signalith. On the first start a setup step makes the admin password, the agents' ingest token and the certificates OpenSearch and Signalith use with each other, and keeps them in Docker volumes; no password is written in the compose files. The last command shows the admin password.

Open https://localhost:9000 and sign in as signalithadmin with that password. Since Signalith made it, you are then asked to choose your own before anything else; from then on signalith initial-password no longer shows the first one, which no longer works.

The browser warns about the certificate

Signalith serves HTTPS with a certificate it makes for itself, so the browser warns until you trust it. The sign-in page has a Download the server certificate link; HTTPS shows how to trust it on Windows, macOS and Linux.

OpenSearch runs with its security plugin on: it answers only over HTTPS, publishes no port, and lets in only Signalith's certificate, which may use only Signalith's own indices. See Securing OpenSearch.

To change the admin password again later:

docker compose -f deploy/docker/docker-compose.yml exec signalith signalith passwd
docker compose -f deploy/docker/docker-compose.yml restart signalith

Settings changed on the Settings page are kept in the signalith-data volume, so they survive updates. To update, run git pull and then the up command again; once a new release is out, it downloads that release's image (the quick start runs the newest release). After a reboot everything starts again by itself once Docker is running (in Docker Desktop, turn on Start Docker Desktop when you sign in).

Docker quick start has the rest: which ports are open and how to limit them, running the newest build of main or your own build, what to do if an update gets stuck, and step-by-step upgrades from older quick starts that keep your events, findings, users and detections.

Try it with sample data

No logs to hand? On the Add data page (under Data, admins only), Load sample data fills Signalith with a week of made-up activity for a fictional company, with a handful of attacks hidden in it, so detections fire, the triage queue fills, risk builds up, threat intel matches and the dashboards light up. Everything is fictional and kept apart from your own data, and one click removes all of it. From the shell:

docker compose -f deploy/docker/docker-compose.yml exec signalith signalith sample-data load

Sample data has a guided tour of the attacks it contains.

The setup guide

The first time you sign in, Signalith offers a short setup guide: a few steps that take a new install from "running" to "watching". Each step says why it matters, opens the page that does it, and is checked off by itself once Signalith sees it done, so the guide also shows what an install still lacks. For an admin the steps are:

  1. Turn on two-step sign-in for your own account, with an authenticator app or a passkey (skipped for single sign-on users, whose identity provider handles it).
  2. Bring in your logs: the guide opens Add data at the one-line install of the Signalith Agent for Windows, Linux and macOS, or load the sample data to try things first. Done once events arrive.
  3. Get told when something fires: an e-mail, Slack, Teams or webhook channel on Settings > Notifications (Notifications).
  4. Add your team: their own accounts on Settings > Users, directory sign-in or single sign-on, so nobody shares the admin account (Users and roles).
  5. Fix what the security check finds on Settings > Security: HTTPS, encryption, OpenSearch and the other checks (Security). Done when nothing is at risk.
  6. Connect an AI model (optional) for plain-English questions on Settings > Server (Investigate with AI covers what is sent).
  7. Run your first search with the Query guide and the Ask box.

Analysts and viewers get a shorter guide: two-step sign-in, the findings queue and a first search.

Nothing in the guide changes a setting by itself, and every step can be left for later:

  • Skip this step moves on and remembers it as skipped.
  • Ask me later puts the guide away for a day.
  • Don't ask again stops it from opening by itself.

While you work through it, a Setup button at the top of the page shows how many steps are left and opens the guide again. Setup guide in the account menu opens it at any time, even after Don't ask again. Your answers are your own and follow you to any browser; on a multi-tenant install each tenant's users have their own.

Linux

The packages are the easiest way on Linux; these steps install by hand.

  1. Install Signalith:

    sudo install -m 0755 signalith-linux-amd64 /usr/local/bin/signalith
    sudo useradd --system --no-create-home signalith
    sudo signalith init -c /etc/signalith/signalith.yaml -opensearch http://127.0.0.1:9200
    sudo chown -R signalith /etc/signalith /var/lib/signalith
    sudo cp deploy/systemd/signalith.service /etc/systemd/system/
    sudo systemctl enable --now signalith
    

    init prints the admin password once, and where it put the master key that encrypts the passwords and keys Signalith stores (/var/lib/signalith/keys/master.key). Back that file up, apart from the config; see Encryption.

  2. Set up OpenSearch on this server (from 0.4.0):

    sudo signalith opensearch install
    

    It downloads the official OpenSearch release, checks it against the SHA-512 Signalith pins, runs it as the signalith-opensearch service on this server only, over HTTPS with no passwords, and has Signalith sign in to it with a certificate (OpenSearch on Linux).

    To use an OpenSearch 2.17 or newer (3.x included) that you run yourself instead (instructions), give its address on the Settings page (OpenSearch > Address), replace its demo security setup, whose passwords and certificates are public, and have Signalith sign in with a certificate of its own: Securing OpenSearch.

  3. Open https://<server>:9000 and sign in as signalithadmin.

To upgrade, stop the service, replace the program and the unit, encrypt passwords an older version kept as plain text, and start it again:

sudo systemctl stop signalith
sudo install -m 0755 signalith-linux-amd64 /usr/local/bin/signalith
sudo cp deploy/systemd/signalith.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo signalith secrets encrypt
sudo systemctl start signalith
sudo signalith secrets status

Older versions cannot read encrypted values: before going back to one, run sudo signalith secrets decrypt (see Going back to an older version).

Windows

The easiest way is the .msi installer: see Install from packages. From 0.3.1 on it installs OpenSearch as well, so there is nothing to set up first; with 0.3.0, install OpenSearch first and give the installer its address with OPENSEARCHURL. To install by hand instead:

  1. In an elevated PowerShell, from the folder holding signalith.exe and deploy\windows\install.ps1:

    .\install.ps1
    

    From 0.3.1, this installs OpenSearch on this computer (see OpenSearch on Windows), writes C:\ProgramData\Signalith\signalith.yaml, installs the Signalith service and starts it. The service runs as its own account, NT SERVICE\Signalith, and only SYSTEM, Administrators and that account can read C:\ProgramData\Signalith. To use an OpenSearch you run yourself instead, give its address: .\install.ps1 -OpenSearchUrl https://opensearch.example.com:9200, then secure it.

  2. Open https://localhost:9000 and sign in as signalithadmin (trust the certificate to stop the warning). To see the first password, run signalith initial-password in PowerShell as Administrator.

To upgrade, put the new signalith.exe next to the script and run it again: it stops the service, replaces the program, encrypts passwords an older version kept as plain text, moves the service off LocalSystem and starts it again. An archive folder outside C:\ProgramData\Signalith (retention.archive_dir), and certificate and key files named in signalith.yaml or on the Settings page, are given to the service's account too; the script says which. After naming one outside C:\ProgramData\Signalith on the page later, run signalith service install again, as Administrator, so the service may read it. Before going back to an older version, run signalith secrets decrypt.

Install from packages

Each release has signed .deb, .rpm and .msi packages that install Signalith as a service in one step, and a container image. See Install from packages.

Send data

Open Add data in the UI and pick Signalith Agent: it gives you one line to paste on each Windows, Linux or macOS computer. The line installs the agent, which runs Fluent Bit and osquery for you and asks Signalith what to collect, so there is no configuration file to edit. It sends over HTTPS with a token of its own and checks the server's certificate (Signalith Agent).

  • To set up Fluent Bit by hand instead: pick Linux or Windows (Agents and syslog).
  • Firewalls, switches and other network devices: pick Syslog (Agents and syslog).
  • Hosts with an OpenTelemetry Collector, and apps with an OpenTelemetry SDK: pick OpenTelemetry (OpenTelemetry).

Use an address the agents can reach

Agents on other machines must send to an address they can reach, such as https://192.168.1.20:7779, not localhost. Enter it under Agents send to on the Add data page (or set server.public_url). Agents send to a port of their own, 7779 by default, not the web page's 9000; allow both through this computer's firewall. See The agent port.

Next steps