Appearance
Export and reports
Every finished run can leave PBXsight as a file: a report to send to someone, JSON with everything stored, or CSV tables for a spreadsheet or your own analysis. The buttons are on the run page (top right) and on the Results page.
First step: on a run page, press Report in the export buttons at the top — one self-contained HTML file to mail or print.
| Button | Where | Format | Contents |
|---|---|---|---|
| Report | run page | HTML, opens in a new tab | the run as a self-contained page |
| JSON | run page | pbx-run-<id>.json | run, parameters, summary, counters, all samples |
| CSV | run page | pbx-run-<id>-samples.csv | one row per second |
| Windows CSV | run page (runs with windows) | pbx-run-<id>-windows.csv | one row per trend window / limit step |
| Export CSV | Results page | pbx-runs[-<type>]-<date>-<time>.csv | the runs list with key results, one row per run |
Finished runs only
A run can be exported once it has ended (completed, failed or stopped). While it runs, the API answers 409 Conflict — "the run has not finished yet; export it when it is done". Exports need a login like every other page (any role may export).
Runs cleaned up by the data retention
After the retention period (14 days by default) a run's per-second data is removed. Its report still has every summary section and says Per-second data and logs removed on DATE (data retention: N days) where the charts were; the JSON has "samples": [] and the run's pruned_at; the CSV button is hidden and the API answers 410 Gone. The Windows CSV and the runs list CSV are unchanged. Pin a run with Keep to keep everything.
HTML report
A single HTML file with everything inline — styles and static SVG charts, no JavaScript, no external files — so it opens anywhere, can be mailed or archived, and prints cleanly to PDF from the browser (print styles included). The Report button shows it in a new tab; the API's &download=1 saves it.

Contents, as far as the run has them:
- title (test type and label), status, the facts — run id, PBX profile, start, end, duration, extension set, SIP target and transport, destination, media and codec, ESL;
- the verdict with every check (Pass/fail criteria);
- Steps of a find-the-limit run (incl. the warm-up, Where the setup time goes and Components per step);
- Capacity of a find-the-limit or PBX watch run: the headroom between the busiest watch window and the limit, computed as of the run's end, with the weekly table — see Capacity;
- What to look at hints and the Slowest calls;
- Media warnings; Over time charts (call rate, active calls, setup time, CPU: FreeSWITCH and the tester, MOS, delay or round trip and jitter, packet loss);
- Trend windows; for a PBX watch its outcomes, PDD, audio, registrations, channels, Tenants and its trend windows;
- the Kamailio, rtpengine and stuck-call sections; virtual phones; counters (SIP codes, hangup causes);
- the Plan and the Criteria the run used, app version and export time.
Times in the report are in the local time zone of the machine PBXsight runs on (with the zone name, e.g. 2026-11-27 14:05:31 CET) — not the viewer's browser.
JSON export
One document with everything stored about the run:
json
{
"format": "pbxsight-run",
"version": 1,
"app_version": "1.0.0",
"exported_at": "2026-11-27T13:05:31Z",
"run": { "id": "…", "type": "call", "status": "completed", "params": { … }, "summary": { … }, … },
"counters": { "sip_code": { "200": 1000, "407": 1000 }, "hangup_cause": { "NORMAL_CLEARING": 1000 } },
"samples": [ { "ts": 1795784731000, "elapsed": 1, … }, … ]
}format/versionidentify the layout;versionis raised on incompatible changes.runholds the stored run: parameters (the plan, the criteria it used, target, extension set) and the summary (all results, the verdict with its checks, trend windows, limit steps, source summaries).samplesare the stored one-second samples, unchanged.vs_baseline: the run against its test's baseline;capacity(find the limit and PBX watch runs only): the capacity summary as of the run's end — the same shape asGET /api/capacity.exported_atis UTC; sampletsvalues are Unix milliseconds.- No passwords are ever stored in parameters or summaries, so none are exported.
Samples CSV
One row per stored second. The first column, time_utc, is the sample time in UTC (2026-11-27T13:05:31.000Z); then one column per sample field, named as in the JSON, in a fixed order (the fields of a load-test sample, or of a watch sample for a PBX watch). Empty cell = no data for that second (e.g. no fresh ESL poll), which is different from 0.
calls_up is the number of calls up at the tester (for registration tests: registrations in progress).
Windows CSV
One row per trend window — busy hour windows, find-the-limit steps (window i = step i + 1), or PBX watch windows — with the window fields as columns (JSON names). Nested values such as a window's slowest calls are written as JSON text in their cell. The button appears only for runs that have windows; other runs get 404 from the API. What the columns mean: Trend windows.
Runs list CSV
Export CSV on the Results page writes the runs of the current type and profile filter (newest first, up to 10 000 runs), one row per run, with the key results of every type. Columns that don't apply to a run's type are empty. Highlights:
| Group | Columns |
|---|---|
| Run | id, type, status, label, profile, created_utc, started_utc, finished_utc, duration_s, verdict, checks_failed, extension_set, sip_target, sip_target_ip, transport, destination, media, codec, error |
| Registration | reg_extensions, reg_attempts, reg_succeeded, reg_failed, reg_success_rate_pct, reg_peak_ok_per_s, reg_rt_avg_ms, reg_rt_p95_ms, reg_rt_max_ms, reg_retransmissions |
| Calls | phones, calls_per_phone_hour, call_target_cps, call_attempts, call_answered, call_failed, call_busy, call_answer_rate_pct, call_peak_cps, call_peak_concurrent, setup_avg_ms, setup_p95_ms, setup_max_ms, call_retransmissions |
| Audio | mos_round_trip, loss_round_trip_pct, rtt_p95_ms, mos_caller_to_callee, mos_callee_to_caller, loss_caller_to_callee_pct, loss_callee_to_caller_pct, delay_p95_caller_to_callee_ms, delay_p95_callee_to_caller_ms, mos_freeswitch, loss_freeswitch_pct |
| PBX | pbx_peak_active_calls, pbx_peak_test_registered |
| Watch | watch_coverage_pct, watch_calls, watch_calls_failed, watch_call_success_pct, watch_answer_rate_pct, watch_dropped_pct, watch_peak_active_calls, watch_pdd_p95_ms, watch_mos_freeswitch, watch_reg_ok, watch_reg_failed, watch_reg_success_pct, watch_max_registrations, watch_min_idle_cpu, watch_peak_internal_legs |
| Kamailio | kamailio_requests, kamailio_rejected, kamailio_rejected_pct, kamailio_restarts, kamailio_max_shm_pct |
| rtpengine | rtpengine_sessions_ended, rtpengine_peak_one_way, rtpengine_timeouts, rtpengine_error_pct, rtpengine_mos, rtpengine_offer_ms, rtpengine_peak_sessions, rtpengine_peak_thread_cpu, rtpengine_restarts |
| Stuck calls | suspect_calls, suspect_calls_peak |
| Find the limit | limit_outcome, limit_cps, limit_failed_cps, limit_broke_first |
Times in this file are UTC (…_utc, RFC 3339). Text that a spreadsheet would run as a formula (a label starting with =, +, -, @) gets a leading apostrophe; numbers stay as they are.
Time zones at a glance
| Export | Times in |
|---|---|
| HTML report | local time of the PBXsight host, with zone name |
| JSON | exported_at UTC; ts Unix milliseconds; stored timestamps with their offset |
| Samples CSV | time_utc, UTC |
| Runs list CSV | created_utc, started_utc, finished_utc, UTC |
From the API
The same files come from the API (with a session cookie):
text
GET /api/tests/{id}/export?format=html[&download=1]
GET /api/tests/{id}/export?format=json
GET /api/tests/{id}/export?format=csv&table=samples
GET /api/tests/{id}/export?format=csv&table=windows
GET /api/tests/export?format=csv[&type=…][&profile=…][&limit=…]See API.