Read the health checks
Ask Studio from a terminal whether it is alive, ready and healthy, read each check it makes, scrape its metrics, and find its own logs.
Goal
You can tell from a terminal whether Studio is up and healthy, read what each of its checks says, and know where to look when one is not.
Before you start
This course is about running Studio from day to day: watching it, backing it up, updating it, changing its key and keeping its record. It starts with the question every other one depends on: is Studio well?
Ask if it is alive and ready. Studio answers two addresses that need no sign-in:
curl -s localhost:3000/api/health/live curl -s localhost:3000/api/healthThe first answers
{"status":"alive"}: the process is running, and nothing more. The second answers{"status":"ready"}when Postgres, the pySigma sidecar and the Git storage can all be used, and503when one cannot. The Compose health check polls this one, and so should your load balancer.
Ask for the detail. Add
?detailed=1and Studio answers401,{"error":"Unauthorized"}, unless you are signed in or send the metrics token:TOKEN=$(grep '^TALON_METRICS_TOKEN=' .env | cut -d= -f2-) curl -s -H "Authorization: Bearer $TOKEN" \ "localhost:3000/api/health?detailed=1"The answer has an overall
"status": "ok", the"version": "1.1.16-beta"that is running, and itschecks, each with a line of its own: Database, Postgres is reachable. Detection storage, The Git-backed detection store is writable. Disk space, The data volume has … GB free. Sigma conversion, The pySigma sidecar is answering. Detection library, 5995 library rules and 2114 Atomic tests are loaded. And Licence.
Know what degraded means. A check can be ok, degraded or failing. Disk space is degraded under 5 GB free and failing under 1 GB. When a check is not ok, every admin sees a banner at the top of each page, such as Talon is degraded: Detection library, and What to do opens its advice. An empty library reads The detection content library is empty, so library search, coverage recommendations and Atomic tests have nothing to offer, and tells you to look for content-sync errors in Settings → App Logs, which the sidebar calls Logging. Plain
/api/healthstill saysreadywhile that is so, because Studio can still serve pages: watch the detailed check as well. If the pySigma sidecar stops, Studio starts it again by itself.
Scrape its metrics. The same token reads
/api/metrics, in Prometheus's format; without it,401:curl -s -H "Authorization: Bearer $TOKEN" localhost:3000/api/metricsAmong them are
talon_studio_info, whose label is the version,talon_studio_health_status, which is1when the detailed check is ok and0when it is degraded or worse,talon_studio_http_requests_total,talon_studio_job_queue_depth,talon_studio_detections_totalandtalon_studio_validation_runs_total. Point your Prometheus at it with the token as a bearer, and alert whentalon_studio_health_statusis0.
Read Studio's own logs. Open Settings → Logging, under MONITORING: All logs, AI Logs and Forwarding. On Forwarding, Destinations: Where Studio sends its own logs, whether each destination is getting them, and how many went out. A new install reads Studio isn't sending its logs anywhere yet. Turn on Syslog or HTTP push below, or run Set up Talon in Cribl from Connect. Log forwarding (Syslog) sends RFC 5424 over UDP, TCP or TLS; Log forwarding (HTTP push) sends ECS JSON to a Cribl, Vector or Logstash HTTP source, Splunk HEC or Elasticsearch. On the host,
docker compose logs appshows the container's own log, which the next lessons read.

You should now see
{"status":"alive"}, then {"status":"ready"}, and from the detailed check "status": "ok" with the version you run and every check ok. You know which address your load balancer polls, which one your monitoring reads, and where Studio's own logs are.
Quick check
Go deeper
- Troubleshooting, for each check, its banner and what to do.
- Logging, for Studio's logs and where it can send them.