Skip to content

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.

What you're aiming at: the dashboard with at least one collector online, an active route, and live throughput.
  • 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 from artifacts.saas.opensight.ch must be moved to artifacts.opensight.ch: the old host was retired on 30 October 2026.
  • Open port 8080 on 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

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.deb

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.)

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-server

Open http://<your-host>:8080 in a browser. Sign in as admin with the password you set in the previous step.

Open Collectors in the sidebar. The list starts empty.

Collectors page. The + Add Collector button at the top right opens the enrollment wizard.

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.

Click into your new collector. Switch to the Sources tab.

The Sources tab on a collector shows every source running on it. Add Source creates a new one on this collector; Add existing from library attaches a shared one.

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.

Adding a source: name it, choose a receiver type — syslog, OTLP, file tail, journald, Kafka, and more — and configure the receiver inline.

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.

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.
The destination library. Each entry shows the exporter type, signal coverage, and which collectors have it active.

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.

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.

The Routing tab lists every route on this collector. + Create new Route opens an inline editor for the matcher, pipeline, and destinations.

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"

Back on the dashboard, the Throughput card ticks within ~30 seconds.

The dashboard's Throughput card. The collector is processing the syslog records and forwarding them to the Debug destination.

The Fleet Status table shows your collector with current status, type, and last-seen timestamp — refreshed live as heartbeats land.

The Fleet Status table on the dashboard. Each row is one collector. Click into a row to see its detail page.

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.

  • 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.