The short version
- Compass has an OpenTelemetry (OTLP) notification endpoint. Point it at your Gigapipe URL and add your basic-auth credentials.
- Each trip is one OTLP log record, sent as protobuf to
/v1/logs, with severityFATALfor a critical token. - The facts are attributes, not text: token, source IP, principal, workload, incident. Gigapipe turns them into labels you can filter on.
- Follow-ups for the same incident (a key deactivated, a task restarted) arrive as more logs with the same
compass_incident_id. - Needs Compass 0.9.3 or later. The open-source edition has it.
1. Why send honeytoken alerts to your logs
A honeytoken is a credential nobody legitimate holds, so any use of it is an intruder (the canary credentials guide explains how they work). The alert is certain. What comes next is not: how did they get the key, and what else did they try?
Those answers are in the logs of the workload where you planted the key, and in CloudTrail. If the alert lives only in Slack or email, you copy a timestamp and an IP address into another tool and start searching. If the alert is a log line in the same store, the search is one query, and the alert is kept as long as the rest of your logs.
Gigapipe takes OpenTelemetry, Loki, Prometheus and Tempo data into one store on ClickHouse, and you query it from Grafana with LogQL, PromQL and TraceQL. So the decoy trip can sit next to the traces and metrics from the same minute, not only the logs.
2. Before you start
- Compass 0.9.3 or later with at least one honeytoken planted. Install guide.
- A Gigapipe instance. Managed Gigapipe gives each customer an instance URL and credentials. For a test, run the open-source version locally (section 6).
- Network: the Compass daemon must reach the instance URL over HTTPS. It sends a POST per alert; nothing calls back in.
3. Add the OTLP endpoint in Compass
In the dashboard: Honeypots → Notification endpoints → Add endpoint → OpenTelemetry (OTLP). Fill in:
- OTLP/HTTP base URL: your Gigapipe instance URL, for example
https://your-instance.gigapipe.com. Compass adds/v1/logs; a URL that already ends in it is kept as it is. - Basic auth username and password: your Gigapipe credentials. Compass stores the password server-side and never shows it again. Leave both empty for a local instance without auth.
From the CLI, the same in one command:
compass notify add --type otlp --name gigapipe \
--otlp-url https://your-instance.gigapipe.com \
--username "$GIGAPIPE_USER" --password "$GIGAPIPE_PASSWORD"
Then press Test on the endpoint, or run compass notify test <endpoint_id>. Compass sends one log with event_name="compass.notification.test". A wrong password shows up straight away as HTTP Error 401 in the test result.
A honeytoken that names no endpoints alerts every endpoint in the workspace, so the new one starts receiving trips at once. To send only some tokens to Gigapipe, tick it under Notify via on the last step of planting each one (New honeytoken → Action).
4. Find the trip in Grafana
Gigapipe serves logs through a Loki-compatible API, so in Grafana you add it as a Loki data source (URL: your instance, with the same basic auth) and use Explore. On managed Gigapipe you can skip that step: its Grafana comes with Gigapipe already set up as the data source. Three queries cover most of it:
# every honeytoken trip
{event_name="compass.honeytoken.tripped"}
# everything from the attacker's IP, across services
{service_name=~".+"} |= "203.0.113.42"
# the whole story of one incident: the trip and every follow-up
{compass_incident_id="1796398686066-49737017"}
Expand the alert line and every attribute is a field you can filter on with one click:
To be paged on it, add a Grafana alert rule on count_over_time({event_name="compass.honeytoken.tripped", compass_test="false"}[5m]) > 0. Compass can also page directly through PagerDuty or Slack; the OTLP endpoint is for the record and the investigation, and works alongside them.
5. What each alert contains
Gigapipe turns dots in attribute names into underscores, so source.address becomes the label source_address. Empty values are not sent.
| OTLP attribute | Example | What it is |
|---|---|---|
event.name | compass.honeytoken.tripped | Also compass.incident.update and compass.notification.test |
compass.honeytoken.name | payments-api-deploy-key | The decoy's name, as you set it |
compass.honeytoken.id / .class | ht-7f3a / aws_credentials | Which token, and what kind |
compass.workload | ECS service payments-api / container app | Where the token was planted: where the leak is |
source.address | 203.0.113.42 | The IP the decoy was used from, with compass.source.ip_type |
aws.principal.arn | arn:aws:iam::…:user/ci-deploy-decoy | The decoy identity that was used |
compass.incident.id | 1796398686066-49737017 | Groups repeat trips and follow-ups; with compass.incident.repeat_count |
compass.severity | critical | Also the log severity: critical → FATAL, high → ERROR, medium → WARN, low → INFO |
compass.test | false | true for test fires; filter these out of alert rules |
service.name (resource) | beamreach-compass | With service.version, the Compass version |
The log body is the same text the email alert carries, runbook included, so a person reading the raw line has everything without opening Compass. The log timestamp is when the decoy was used, not when Compass heard about it, so the alert sorts correctly among the application logs even when CloudTrail delivery took a few minutes.
6. Try it locally with open-source Gigapipe
Gigapipe is open source (AGPL-3.0) and has the same OTLP ingestion and Grafana data sources as the managed service. This is the stack we tested with: ClickHouse, Gigapipe with basic auth turned on, and Grafana with Gigapipe already added.
# docker-compose.yml
services:
clickhouse:
image: clickhouse/clickhouse-server:24.9.1
environment:
CLICKHOUSE_SKIP_USER_SETUP: "1"
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8123/ping"]
interval: 2s
retries: 30
gigapipe:
image: ghcr.io/metrico/gigapipe:latest
depends_on:
clickhouse:
condition: service_healthy
environment:
CLICKHOUSE_SERVER: clickhouse
GIGAPIPE_LOGIN: compass
GIGAPIPE_PASSWORD: change-me
ports:
- "127.0.0.1:3100:3100"
grafana:
image: grafana/grafana:11.3.0
volumes:
- ./datasources:/etc/grafana/provisioning/datasources
ports:
- "127.0.0.1:3000:3000"
# datasources/gigapipe.yml
apiVersion: 1
datasources:
- name: Gigapipe
type: loki
url: http://gigapipe:3100
basicAuth: true
basicAuthUser: compass
secureJsonData:
basicAuthPassword: change-me
isDefault: true
Run docker compose up -d, add an OTLP endpoint in Compass with http://127.0.0.1:3100, user compass and your password, and press Test. If Compass runs in Docker too, use an address the container can reach, such as http://host.docker.internal:3100. The test log shows up in Grafana Explore under {service_name="beamreach-compass"}.
7. Notes and limits
- Protobuf, not JSON. Compass sends OTLP/HTTP protobuf, the encoding every OTLP server must accept. It doesn't need the OpenTelemetry SDK or a Collector, but a Collector in between works too, if you already run one.
- Other OTLP backends. Nothing in the endpoint is specific to Gigapipe, so any server that takes OTLP logs over HTTP with basic auth or no auth will do. Header-token auth (a bearer token or an API-key header) isn't supported yet.
- Labels and cardinality. Gigapipe makes every attribute a label, including the incident and alert IDs. Trips are rare, so this costs nothing in practice. Don't copy the pattern for high-volume logs.
- Delivery. If the endpoint is down when a trip happens, Compass reports the failure for that endpoint and still alerts your other endpoints; it doesn't retry the log later. Keep a paging endpoint (Slack, PagerDuty, email) next to it.
- Only honeypot alerts today. Audit results and pull request notifications don't go to notification endpoints yet.
Written by Ilia Dubovskii, founder of Beamreach. Tested on 4 December 2026 with Compass 0.9.3 against open-source Gigapipe and Grafana 11.3, with Compass sending real alerts. The Gigapipe team reviewed this guide before it was published and drew the architecture diagram. Disclosure: we make Compass.
Related: AWS canary credentials: set up an IAM honeytoken · Honeytokens vs GuardDuty · What to automate in incident response
Beamreach