Skip to content
DocumentationAPI ReferenceChangelog
AdministrationTalon Studio v1.1.22-beta

Logging

Live application logs in the browser, ECS JSON on standard output, durable files on the data volume, and syslog or HTTP forwarding to your SIEM.

What it is

Every server log line in Talon Studio goes through one logger. Secret-shaped values are redacted first — sensitive key=value pairs, bearer tokens, JWTs and credentials inside connection URLs — and the line is then written to the container's standard output, kept in an in-memory buffer of the latest 500 lines, appended to a durable log file, and, if configured, forwarded over syslog or pushed over HTTP. Newlines and quotes in values are escaped, so user input can't forge a log line.

Settings → Logging (/settings/logs, admin only) has three tabs. All logs and AI Logs are the live log viewer; Forwarding holds syslog and HTTP push, described below. In the viewer:

Filter by level and free text, and switch between All logs and AI Logs.
The capture-level selector sets the minimum level the server records, without a restart. It lasts until the next restart, which goes back to LOG_LEVEL.
Include persisted logs from disk reads up to the last 2,000 lines from the log files, so history survives restarts. On boot the last 500 lines are reloaded into the live view anyway.
Export logs downloads the lines on screen as a text file. Clear all logs empties the live view only; the files on disk are untouched.

What Talon logs

Every entry has a dataset, talon.<context>. Talon does not analyse its own logs for you: forward them, and watch access to Talon where you already watch everything else.

talon.audit
Everything a person, token or agent changed: the same entries as Settings → Audit log, each with its id and chain hash, so the copy in your SIEM can be matched to the database. Info; warn when the action failed.
talon.http
One line per API request: method, path (never the query string), status, duration, who (user or API token), source IP, user agent and request ID. Info; warn for a 4xx and error for a 5xx. Health and metrics probes are logged at debug.
talon.api-auth
A refused API token, with the reason: revoked, expired, missing scope, IP not allowed or rate limited.
talon.auth
Sign-in detail for passwords and SSO.
Everything else
Jobs, syncs, integrations, startup and errors.

Every line written while serving a request carries that request's ID, which Talon also returns in the X-Request-Id response header. With TALON_TRUST_PROXY=true Talon accepts the proxy's X-Request-Id, so one ID follows a request through both logs, and the request log records the client's address instead of the proxy's.

Configuration

Set by environment variable:

LOG_LEVEL
Minimum severity recorded — debug · info · warn · error (default info).
LOG_FORMAT
How lines are written to standard output. json, the default in the Docker image, writes one Elastic Common Schema (ECS) document per line for a log pipeline. text writes one human-readable line per entry, which is easier to read in docker logs, and is the default outside the image. The files are NDJSON either way.
LOG_DIR
Directory for the log files. The container sets it to /data/logs, on the data volume; outside the container it defaults to data/logs under the working directory.
LOG_RETENTION_DAYS
Days of log files to keep before they're pruned (default 14). Distinct from AUDIT_LOG_RETENTION_DAYS, which governs the audit trail.
LOG_MAX_FILE_MB
Size at which the day's file is rotated aside (default 50).
DISABLE_LOG_FILE
Set true to stop writing log files.
TALON_TENANT_ID
Adds labels.tenant to every entry, to tell several installs apart in one pipeline.
OTEL_EXPORTER_OTLP_ENDPOINT
Turns on OpenTelemetry tracing over OTLP/HTTP (for example http://otel-collector:4318). While it is on, every log line carries trace.id and span.id. Off when unset; OTEL_SERVICE_NAME defaults to talon-studio.

Files are named talon-YYYY-MM-DD.ndjson (UTC dates), one JSON object per line.

Tip
The image's output also carries the embedded Postgres and pySigma lines, which are not JSON. A collector reading the container's output should filter on service.name == "talon-studio"; the syslog forwarder sends only Talon's own entries. Keep /data on durable storage so the log files survive container restarts and upgrades.

Forwarding to a SIEM

Both forwarders are on the Forwarding tab and are off until you set them up. The Log forwarding (Syslog) panel ships every recorded line to a SIEM or collector as RFC 5424; the message is the same ECS JSON document written to standard output. It is configured in the app, not by environment variable, and kept in Org/logging/logging.yaml in the org config repo: a change shows Pending commit and takes effect when an admin commits it on Settings → Organisation. The CA certificate is the exception — it is stored encrypted, never in the repo, and applies at once.

Collector host · Port
Where to send. Both are required to turn forwarding on.
Protocol
UDP (514), TCP (514) or TLS (6514), TLS by default for a new setup. TCP and TLS frame each message with its length (octet counting). TALON_REQUIRE_TLS refuses UDP and TCP.
Facility
local0–local7 (16–23).
Verify collector certificate
TLS only, on by default. Turning it off is refused on a production install unless TALON_ALLOW_INSECURE_TLS=true is set; add the collector's CA instead.
CA certificate (PEM)
TLS only, optional. Stored encrypted and never written to the config repo.
Send test message confirms the collector receives a line; the panel shows whether the forwarder is connected.
TCP and TLS reconnect with exponential backoff — starting at 1 second and doubling to a 30-second cap — and queue up to 1,000 lines, dropping the oldest, while the collector is unreachable. Forwarding never blocks a request.
Changes to forwarding are recorded in the audit log.

HTTP push works alongside syslog. The Log forwarding (HTTP push) panel takes the collector URL, the format and an Authorization header, with Send test entry; the URL and format are kept in Org/logging/logging.yaml and wait for a commit like syslog, and the header is stored encrypted and only ever sent to the address it was saved for. Talon POSTs batches of the same ECS documents every 2 seconds or every 500 entries. The environment variables below set it instead, and while LOG_HTTP_URL is set the panel only shows what it is sending.

Set up Logstash or Vector writes the receiver config for you. Pick the pipeline, the SIEM it delivers to (Splunk, Elastic, Sentinel, Google SecOps, CrowdStrike or Wazuh) and the address Studio should send to; Studio fills its own sign-in into the config, which you copy or download, and then points HTTP push at that receiver. For Sentinel it creates the TalonStudio_CL table and its data collection rule through the workspace's Sentinel connection; for Google SecOps it adds and activates its parser for the log type TALON_STUDIO, which you add in SecOps yourself.
Set up Talon in Cribl (see Cribl changes) does not use this push. Each Cribl gets its own destination for Studio's logs, listed here under Also sending to with Change URL and Stop, so a push to a Splunk HEC or another collector keeps working beside it.
With TALON_ALLOW_INSECURE_TLS=true the push accepts a Splunk HEC's default self-signed certificate, as SIEM connections do. Add the collector's CA where you can.
LOG_HTTP_URL
Where to POST. Off when unset.
LOG_HTTP_FORMAT
ndjson (default): one ECS document per line, for a Cribl HTTP source, Vector or Logstash. splunk-hec: HEC events with sourcetype talon:studio, for the Splunk HTTP Event Collector. elastic-bulk: _bulk create actions, for Elasticsearch.
LOG_HTTP_AUTHORIZATION
Sent as the Authorization header as is, for example Bearer …, Splunk <HEC token> or ApiKey ….
LOG_HTTP_LEVEL
Minimum level pushed (default info).
LOG_HTTP_BATCH_SIZE · LOG_HTTP_FLUSH_MS
Batch size and interval (defaults 500 and 2000).

A failed POST is retried with backoff, up to a minute apart, holding up to 10,000 entries before dropping the oldest. GET /api/metrics reports talon_studio_log_forward_sent_total, talon_studio_log_forward_dropped_total and talon_studio_log_forward_queued for each transport, and talon_studio_http_requests_total counts API requests by method and status class.

To pull instead of push, GET /api/v1/audit-logs?since=<ISO time> with an organisation-scoped API token holding audit:read returns the audit trail, newest first.

Settings, Logging, Forwarding tab: the syslog forwarding panel above the HTTP push panel
The Forwarding tab with both forwarders off, as on a new install: the syslog panel above HTTP push, and Set up Logstash or Vector. Switching a panel on opens its fields.

Detections for Studio itself

Studio ships 55 detections that watch Studio: a sign-in brute force and a sign-in right after one, guessed MFA codes, locked and disabled accounts signing in, a session cookie used from two IP addresses or after it was revoked, API tokens refused repeatedly, a new admin account, MFA disabled or reset, SSO, role, branch protection, SIEM connection and logging changes, force pushes, a broken audit chain, connections to Studio's database that aren't Studio's own, Studio's own logs going quiet, mass alert dismissal or detection removal, an agent tool call or SIEM search that was blocked, an MCP server changing a tool's definition, and more. They are ordinary workspace detections that read Studio's own audit and request logs (talon:studio on Splunk, talon_studio on Cribl), so they fire in your SIEM once those logs are forwarded there.

Every new workspace starts with them.
A workspace that is missing some, or holds an older set, shows Detections for Studio itself on Forge → Detections, where you add or update them. After an upgrade Studio also opens a Fill in Studio's own detections change request in each workspace that already has them.
They deploy through the workspace's deploy pipeline like any other detection.

Matches Talon Studio 1.1.18-beta