Quickstart
This guide takes you from zero to live telemetry on a single Linux host in about 10 minutes. By the end, you’ll have the LinkMesh server running, one enrolled collector reporting in, an active source, and a route forwarding events to the destination of your choice.
Prerequisites
Section titled “Prerequisites”- One Linux host with
sudo(Ubuntu 22.04 LTS, RHEL 9, or another systemd-based distribution) - 1 vCPU, 1 GB RAM, 5 GB disk is plenty for the server itself
- Outbound HTTPS access to
artifacts.opensight.ch(for the install package). Installs set up from older instructions that still read fromartifacts.saas.opensight.chmust be moved to artifacts.opensight.ch: the old host was retired on 30 October 2026. - Open port
8080on the host so you can reach the web UI from your browser - Optional: a Grafana Cloud Loki endpoint + write token if you want to verify end-to-end delivery
1. Install the LinkMesh server
Section titled “1. Install the LinkMesh server”Install runs in one shell session. The package ships a systemd unit, a default
admin account, and a gitops-backed config store. The server keeps its state in
an embedded database by default, so a single-host install needs no external
database. It serves plain HTTP on port 8080; TLS is terminated by a reverse
proxy or ingress in front (covered below).
curl -fsSL https://artifacts.opensight.ch/binaries/linkmesh-server/latest/linkmesh-server_latest_amd64.deb -o linkmesh-server.deb
sudo apt install ./linkmesh-server.debcurl -fsSL https://artifacts.opensight.ch/binaries/linkmesh-server/latest/linkmesh-server-latest.x86_64.rpm -o linkmesh-server.rpm
sudo dnf install ./linkmesh-server.rpmdocker run -d --name linkmesh-server \
-p 8080:8080 \
-e AUTH_ADMIN_PASSWORD='choose-a-strong-password' \
-v linkmesh-data:/data \
docker.io/opensight/linkmesh-server:latestSet AUTH_ADMIN_PASSWORD on that first run to choose the admin account’s
password up front — the container starts with it already in place.
Mount the whole /data directory, not a subpath — all durable state lives
under it: the embedded database (/data/linkmesh/state.db), the GitOps config
clones (/data/linkmesh-config/), and the auto-generated secrets encryption
key (/data/linkmesh/secrets.key). Persisting only a subdirectory loses your
destinations, users, and secrets on the next container recreate. Everything is
served on the single HTTP port 8080 — the web UI, the REST API, the agent
control channel (a WebSocket at /v1/agent), and OTLP ingest. In production,
TLS is terminated by your ingress / reverse proxy in front of it.
The install starts the server right away and creates an admin account whose
random password is deliberately never written to any log. For the package
installs above, set your own password with the recovery command — it needs no
prior login, and works whether or not the server is running:
sudo linkmesh-server reset-password --email admin --password 'choose-a-strong-password'
Omit --password to have a strong one generated and printed. Resetting a
password signs that account out of any sessions it already had. (The Docker
install already set AUTH_ADMIN_PASSWORD above, so you can skip this step
there.)
2. Tell LinkMesh its public URL
Section titled “2. Tell LinkMesh its public URL”Set externalUrl to the address collectors and browsers reach this server
on, then restart. This is the one post-install setting you should not skip.
Edit /etc/linkmesh/config.yaml:
# A DNS name (preferred — survives IP changes, and matches your TLS cert)
externalUrl: "https://linkmesh.example.com"# Or a bare IP, for a lab / flat-network install with no TLS in front
externalUrl: "http://192.0.2.10:8080"Then restart:
sudo systemctl restart linkmesh-serverSet it in the environment instead — LINKMESH_EXTERNALURL, or its shorter
alias EXTERNAL_URL:
docker run -d --name linkmesh-server \
-p 8080:8080 \
-e LINKMESH_EXTERNALURL='https://linkmesh.example.com' \
-e AUTH_ADMIN_PASSWORD='choose-a-strong-password' \
-v linkmesh-data:/data \
docker.io/opensight/linkmesh-server:latestUse the address collectors resolve — an Ingress hostname or a Service DNS
name like http://linkmesh-server.linkmesh.svc.cluster.local:8080, never a
pod IP.
3. Sign in
Section titled “3. Sign in”Open http://<your-host>:8080 in a browser. Sign in as admin with the
password you set in the previous step.
4. Enroll your first collector
Section titled “4. Enroll your first collector”Open Collectors in the sidebar. The list starts empty.
Click + Add Collector, choose Install Now, and pick Linux under
Where will it run?. LinkMesh runs the upstream OpenTelemetry Collector
(otelcol-contrib) under the upstream OpAMP supervisor (opampsupervisor),
so there is no runtime to choose. Click Next, then Generate Token: the
wizard creates a one-time enrollment token (it expires in 1 hour if unused).
Click Next again and it shows the install command for the host you want to
monitor. It looks like this, with your server address and token filled in:
# One-liner OpAMP install — provisions otelcol-contrib + opampsupervisor
# pointed at this server's /v1/opamp endpoint. No mTLS bootstrap needed;
# the enrollment token is consumed on the WebSocket upgrade.
curl -fsSL https://linkmesh.example.com/install-opamp.sh | sudo sh -s -- \
--token <YOUR_ENROLLMENT_TOKEN> \
--env production
The server address in the command is the one your browser used to open the
UI. If the collector host reaches the server under a different name or IP
(for example, you opened the UI through an SSH tunnel), replace it with the
address from externalUrl.
Copy it from the wizard, SSH into the target host, and run it. The installer
downloads both binaries (from your server’s mirror, or from the upstream
OpenTelemetry releases when the mirror has none), writes
/etc/otelcol-supervisor/supervisor.yaml, and starts the
opamp-supervisor systemd service. The supervisor connects to
/v1/opamp, enrols with the token, and receives its pipeline config over
OpAMP. Click I’ve run the installer; within about 30 seconds the wizard
shows Collector Connected! and the collector appears in the fleet table.
See Add a collector for the other
platforms and
Onboard an OpenTelemetry Collector via OpAMP
for the manual install.
5. Add a source
Section titled “5. Add a source”Click into your new collector. Switch to the Sources tab.
Click Add Source. Pick a receiver type that matches what you want to ingest — syslog, OTLP, file tail, journald, Kafka, and more. Saving creates the source on this collector and attaches it in one step; you never need to open the Library for it.
Pick Syslog for this walkthrough and keep its defaults: it listens for
RFC 5424 syslog over TCP on port 514 (0.0.0.0:514), so make sure nothing
else on the host already listens there. Click Add Source. The source is saved as soon as you confirm,
and the collector picks up the new config on its next heartbeat (typically
within a few seconds). For a fleet, add the source on a
collector group instead, and every
member runs it.
6. Add a destination
Section titled “6. Add a destination”Destinations are created in the library and then activated on a collector. Open Library → Destinations in the sidebar, click New Destination, give it a name, and pick an Exporter Type. Common choices:
- Debug — logs records to the collector’s own stdout. Zero credentials. Useful for the first end-to-end verification.
- Grafana Cloud Loki — push logs to a Loki tenant. Needs an endpoint and a write token (free tier works).
- OTLP — send to any OpenTelemetry-compatible backend.
For this walkthrough, Debug is the fastest path to “I can see events flowing.” Click Create Destination.
Then go back to the collector detail page, switch to its Destinations tab, click Add Destination, pick Debug, and click Activate Destination. The collector’s Add Destination dialog only lists destinations that already exist in the library.
7. Wire a route
Section titled “7. Wire a route”Switch to the Routing tab. A route decides which events go to which destinations, through an optional processing pipeline. It matches on the event itself (body, severity, attributes), not on the source, and a new route matches every event from every source on the collector.
Click + Create new Route. Name it, leave the matcher and the pipeline as they are (all events, no transformation), click + Debug under Destinations, and click Save.
The collector picks up the change within a few seconds. Generate test traffic from any host that can reach the collector on TCP port 514:
logger -T -n <collector-host> -P 514 "hello from quickstart"
8. See it work
Section titled “8. See it work”Back on the dashboard, the Throughput card ticks within ~30 seconds.
The Fleet Status table shows your collector with current status, type, and last-seen timestamp — refreshed live as heartbeats land.
If you wired a real backend (Loki, ClickHouse, OTLP), check your downstream
tool to confirm records are arriving. The Debug destination just logs to the
collector’s own output. The supervisor writes that to
/var/lib/otelcol-supervisor/agent.log, so
sudo tail -f /var/lib/otelcol-supervisor/agent.log on the collector host
prints a "msg":"Logs" line for each batch the Debug destination receives,
with its record count ("log records":1). It shows counts only, not the
message text. The supervisor’s own log is
sudo journalctl -u opamp-supervisor.
What’s next
Section titled “What’s next”- Install on Kubernetes — if your collector hosts live in a K8s cluster, use the DaemonSet flow instead of the VM install above
- Concepts — what each entity (Collector, Source, Pipeline, Route, Destination) actually means and how they relate
- Drop noisy logs — strip health-check noise before it reaches your destination
- Mask PII — redact email addresses, phone numbers, and card patterns with one processor step
- Route to Grafana Cloud Loki — wire the destination you most likely already have running
If something didn’t work, open the Events feed on the dashboard — every config push, heartbeat, and error is logged there with context.